grunt test:branch now only generates the chosen branch

This commit is contained in:
Spencer Alger
2014-07-08 08:40:41 -07:00
parent 0f6fa5140d
commit 8bbb97b0cf
2 changed files with 5 additions and 1 deletions

View File

@ -45,6 +45,10 @@ var config = {
utils.branches.forEach(function (branch) {
config['generate_' + branch] = {
exec: 'node ./scripts/generate/index.js --branch=' + branch
};
config['install_es_' + branch] = {
exec: './scripts/es.sh install ' + branch,
};

View File

@ -9,7 +9,7 @@ module.exports = function (grunt) {
grunt.registerTask('test', function (branch) {
var tasks = [
'jshint',
'run:generate',
branch ? 'run:generate_' + branch : 'run:generate',
'mochacov:unit'
];