Fix calling of apm and grunt in script/cibuild and script/test.

This commit is contained in:
Cheng Zhao
2013-10-30 18:10:03 +08:00
parent 9c7ce22abe
commit 3de18ae9f6
2 changed files with 3 additions and 3 deletions

View File

@@ -32,8 +32,8 @@ cp.safeExec.bind(global, 'node script/bootstrap', function(error) {
async.series([
require('rimraf').bind(global, path.join(homeDir, '.atom')),
cp.safeExec.bind(global, 'git clean -dff'),
cp.safeExec.bind(global, 'node node_modules/.bin/apm clean'),
cp.safeExec.bind(global, 'node node_modules/.bin/grunt ci --stack --no-color'),
cp.safeExec.bind(global, 'node vendor/apm/bin/apm clean'),
cp.safeExec.bind(global, 'node node_modules/grunt-cli/bin/grunt ci --stack --no-color'),
], function(error) {
process.exit(error ? 1 : 0);
});

View File

@@ -5,5 +5,5 @@ var path = require('path');
process.chdir(path.dirname(__dirname));
safeExec('node script/bootstrap', function() {
safeExec('node node_modules/.bin/grunt ci --stack --no-color', process.exit);
safeExec('node node_modules/grunt-cli/bin/grunt ci --stack --no-color', process.exit);
});