From a1d65447e07d22e764ed751b748e9dbc70e0ad2c Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 1 May 2016 12:03:55 +0300 Subject: [PATCH] exclude form gruntfile from build --- gruntfile.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 11f3d26c..3acdb21a 100755 --- a/gruntfile.js +++ b/gruntfile.js @@ -10,7 +10,7 @@ module.exports = function(grunt) { serverViews: ['app/views/**/*.*'], serverJS: ['gruntfile.js', 'server.js', 'config/**/*.js', 'app/**/*.js', '!app/tests/'], clientViews: ['public/modules/**/views/**/*.html'], - clientJS: ['public/js/*.js', 'public/modules/**/*.js'], + clientJS: ['public/js/*.js', 'public/modules/**/*.js', '!public/modules/**/gruntfile.js'], clientCSS: ['public/modules/**/*.css'], serverTests: ['app/tests/**/*.js'], clientTests: ['public/modules/**/tests/*.js'], @@ -95,7 +95,7 @@ module.exports = function(grunt) { files: { 'public/dist/application.min.js': 'public/dist/application.js' } - } + } }, cssmin: { combine: { @@ -125,27 +125,27 @@ module.exports = function(grunt) { 'stack-trace-limit': 50, 'hidden': [] } - } + } }, ngAnnotate: { production: { files: { 'public/dist/application.js': '<%= applicationJavaScriptFiles %>' - } - } - }, + } + } + }, concurrent: { default: ['nodemon', 'watch'], debug: ['nodemon', 'watch', 'node-inspector'], - options: { + options: { logConcurrentOutput: true, - limit: 10 - } + limit: 10 + } }, env: { test: { NODE_ENV: 'test', - src: '.env' + src: '.env' }, secure: { NODE_ENV: 'secure',