Skip to content

Commit

Permalink
Adding node module stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
skrenek committed Apr 19, 2011
1 parent a3c09fc commit 816e4a8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>node-jsdoc-toolkit</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>
6 changes: 6 additions & 0 deletions app/nodemodule.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
exports.jsdoctoolkit = {
run: function(args) {
global.internal_args = args || [];
require('./run');
}
};
4 changes: 4 additions & 0 deletions app/noderun.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env node

var toolkit = require("./nodemodule").jsdoctoolkit;
toolkit.run(args);

0 comments on commit 816e4a8

Please sign in to comment.