mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-14 04:29:04 +03:00
9944e660ed
Also removed duplicated logic to run grunt.
13 lines
354 B
JavaScript
Executable File
13 lines
354 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
var cp = require('./utils/child-process-wrapper.js');
|
|
var runGrunt = require('./utils/run-grunt.js');
|
|
var path = require('path');
|
|
|
|
process.chdir(path.dirname(__dirname));
|
|
|
|
cp.safeExec('node script/bootstrap', function() {
|
|
// build/node_modules/.bin/grunt "$@"
|
|
var args = process.argv.slice(2);
|
|
runGrunt(args, process.exit);
|
|
});
|