mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-01 03:03:09 +03:00
14 lines
587 B
JavaScript
Executable File
14 lines
587 B
JavaScript
Executable File
#!/usr/bin/env node --harmony_collections
|
|
var cp = require('./utils/child-process-wrapper.js');
|
|
var path = require('path');
|
|
|
|
process.chdir(path.dirname(__dirname));
|
|
|
|
cp.safeExec('node script/bootstrap', function() {
|
|
// node build/node_modules/grunt-cli/bin/grunt "$@"
|
|
var gruntPath = path.join('build', 'node_modules', 'grunt-cli', 'bin', 'grunt') + (process.platform === 'win32' ? '.cmd' : '');
|
|
var args = [gruntPath, '--gruntfile', path.resolve('build', 'Gruntfile.coffee')];
|
|
args = args.concat(process.argv.slice(2));
|
|
cp.safeSpawn(process.execPath, args, process.exit);
|
|
});
|