mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-26 08:03:17 +03:00
645fc1511a
On Linux "#!/usr/bin/env node --harmony_collections" is unfortunately not recognized by system.
14 lines
521 B
JavaScript
Executable File
14 lines
521 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
var cp = require('./utils/child-process-wrapper.js');
|
|
var path = require('path');
|
|
|
|
process.chdir(path.dirname(__dirname));
|
|
|
|
cp.safeExec('node script/bootstrap', function() {
|
|
// build/node_modules/.bin/grunt "$@"
|
|
var gruntPath = path.join('build', 'node_modules', '.bin', 'grunt') + (process.platform === 'win32' ? '.cmd' : '');
|
|
var args = ['--gruntfile', path.resolve('build', 'Gruntfile.coffee')];
|
|
args = args.concat(process.argv.slice(2));
|
|
cp.safeSpawn(gruntPath, args, process.exit);
|
|
});
|