pulsar/script/build
Jussi Kalliokoski 9944e660ed 🎨 💚 Fixed the test script.
Also removed duplicated logic to run grunt.
2015-04-04 01:11:06 +03:00

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);
});