2014-03-20 18:10:11 +04:00
|
|
|
#!/usr/bin/env node
|
2013-10-14 11:09:17 +04:00
|
|
|
var cp = require('./utils/child-process-wrapper.js');
|
2015-04-04 01:11:06 +03:00
|
|
|
var runGrunt = require('./utils/run-grunt.js');
|
2013-10-14 10:37:16 +04:00
|
|
|
var path = require('path');
|
2013-06-21 04:07:55 +04:00
|
|
|
|
2013-10-14 10:37:16 +04:00
|
|
|
process.chdir(path.dirname(__dirname));
|
2013-06-21 04:07:55 +04:00
|
|
|
|
2013-12-17 21:27:04 +04:00
|
|
|
cp.safeExec('node script/bootstrap', function() {
|
2014-01-03 21:29:45 +04:00
|
|
|
// build/node_modules/.bin/grunt "$@"
|
2015-04-04 01:11:06 +03:00
|
|
|
var args = process.argv.slice(2);
|
|
|
|
runGrunt(args, process.exit);
|
2013-10-14 10:37:16 +04:00
|
|
|
});
|