mirror of
https://github.com/atom/atom.git
synced 2026-01-15 01:48:15 -05:00
13 lines
430 B
JavaScript
Executable File
13 lines
430 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() {
|
|
// 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);
|
|
});
|