-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild
More file actions
executable file
·13 lines (11 loc) · 521 Bytes
/
Copy pathbuild
File metadata and controls
executable file
·13 lines (11 loc) · 521 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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() {
// build/node_modules/.bin/grunt "$@"
var gruntPath = path.join('build', 'node_modules', '.bin', 'grunt') + (process.platform === 'win32' ? '.cmd' : '');
var args = ['--gruntfile', path.resolve('build', 'Gruntfile.coffee')];
args = args.concat(process.argv.slice(2));
cp.safeSpawn(gruntPath, args, process.exit);
});