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:
josephschorr 2017-01-18 15:36:54 -05:00 committed by GitHub
commit d36545af83

View file

@ -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'
}
},