From 933215b9f1de16f80e1d9bf0c86fe2756e23d10a Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 18 Jan 2017 15:35:20 -0500 Subject: [PATCH] Reorder grunt JS file exceptions to have it properly exclude test files --- grunt/Gruntfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grunt/Gruntfile.js b/grunt/Gruntfile.js index 9239f7e94..ef7a4a6f9 100644 --- a/grunt/Gruntfile.js +++ b/grunt/Gruntfile.js @@ -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' } },