pulsar/script/build

13 lines
430 B
Plaintext
Raw Normal View History

2013-10-14 10:37:16 +04:00
#!/usr/bin/env node
var cp = require('./utils/child-process-wrapper.js');
2013-10-14 10:37:16 +04:00
var path = require('path');
2013-06-21 04:07:55 +04:00
2013-10-14 10:37:16 +04:00
process.chdir(path.dirname(__dirname));
2013-06-21 04:07:55 +04:00
cp.safeExec('node script/bootstrap', function() {
// node node_modules/grunt-cli/bin/grunt "$@"
var gruntPath = path.join('node_modules', 'grunt-cli', 'bin', 'grunt');
var args = [gruntPath].concat(process.argv.slice(2));
cp.safeSpawn(process.execPath, args, process.exit);
2013-10-14 10:37:16 +04:00
});