#!/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);
});
