pulsar/script/test

11 lines
405 B
Plaintext
Raw Normal View History

#!/usr/bin/env node --harmony_collections
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
});