mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-15 03:04:37 +03:00
12 lines
405 B
JavaScript
Executable File
12 lines
405 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_modules/.bin/grunt "$@"
|
|
var gruntPath = path.join('node_modules', '.bin', 'grunt') + (process.platform === 'win32' ? '.cmd' : '');
|
|
cp.safeSpawn(gruntPath, process.argv.slice(2), process.exit);
|
|
});
|