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

@ -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'
];