Linked with new local-cli, refactored

This commit is contained in:
Joe Stanton
2015-05-14 15:35:09 +01:00
parent 2e2e577a09
commit 9caee3248b
2 changed files with 8 additions and 22 deletions

View File

@@ -6,6 +6,8 @@
var spawn = require('child_process').spawn;
var path = require('path');
var init = require('../init.js');
var install = require('./install.js');
var bundle = require('./bundle.js');
@@ -59,10 +61,6 @@ function run() {
// Here goes any cli commands we need to
}
function init(root, projectName) {
spawn(path.resolve(__dirname, '../init.sh'), [projectName], {stdio:'inherit'});
}
if (require.main === module) {
run();
}