Merge pull request #2288 from coreos-inc/stupid-grunt
Reorder grunt JS file exceptions to have it properly exclude test files
This commit is contained in:
commit
d36545af83
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,8 @@ module.exports = function(grunt) {
|
|||
},
|
||||
},
|
||||
build: {
|
||||
src: ['!../static/js/**/*.spec.js', '../static/lib/**/*.js', '../static/js/**/*.js', '../static/dist/template-cache.js'],
|
||||
src: ['../static/lib/**/*.js', '../static/js/**/*.js', '../static/dist/template-cache.js',
|
||||
'!../static/js/**/*.spec.js'],
|
||||
dest: '../static/dist/<%= pkg.name %>.js'
|
||||
}
|
||||
},
|
||||
|
|
Reference in a new issue