Browse files

made build, run, cycle all executable. Set "npm start" to ./run (for …

…Joyent). updated package.json
  • Loading branch information...
1 parent a31b980 commit c182b304e78582b8cf10463bc1b3e4db2ae14ffd @hunterloftis hunterloftis committed Mar 28, 2012
Showing with 13 additions and 4 deletions.
  1. +3 −0 build
  2. 0 build.js
  3. +5 −0 cycle
  4. +0 −3 cycle.js
  5. +3 −1 package.json
  6. +2 −0 run.js → run
View
3 build
@@ -0,0 +1,3 @@
+#!/usr/bin/env node
+
+console.log("Building project...");
View
0 build.js
No changes.
View
5 cycle
@@ -0,0 +1,5 @@
+#!/usr/bin/env node
+
+var base12 = require('base12');
+
+base12.cycle(__dirname, 'run', process.argv[2]);
View
3 cycle.js
@@ -1,3 +0,0 @@
-var base12 = require('base12');
-
-base12.cycle(__dirname, 'run.js', process.argv[2]);
View
4 package.json
@@ -19,9 +19,11 @@
"redis": "latest"
},
"devDependencies": {
- "vows": "latest"
+ "vows": "latest",
+ "commander": "latest"
},
"scripts": {
+ "start": "./run",
"lock": "scripts/module_lock.js",
"postinstall": "scripts/postinstall.js",
"test": "vows test/*.vows.js"
View
2 run.js → run 100644 → 100755
@@ -1,3 +1,5 @@
+#!/usr/bin/env node
+
var base12 = require('base12');
base12.balance(__dirname + '/app', process.argv[2]);

0 comments on commit c182b30

Please sign in to comment.