pulsar/script/test

11 lines
383 B
Plaintext
Raw Normal View History

#!/usr/bin/env node
2013-10-14 12:52:52 +04:00
var safeExec = require('./utils/child-process-wrapper.js').safeExec;
var path = require('path');
2013-06-21 20:45:24 +04:00
2013-10-14 12:52:52 +04:00
process.chdir(path.dirname(__dirname));
2013-06-21 20:45:24 +04:00
2013-10-14 12:52:52 +04:00
safeExec('node script/bootstrap', function() {
var gruntPath = path.join('node_modules', '.bin', 'grunt') + (process.platform === 'win32' ? '.cmd' : '');
safeExec(gruntPath + ' ci --stack --no-color', process.exit);
2013-10-14 12:52:52 +04:00
});