From 72083ea20c0e8f431b9b06a2d0b956ebaa173c26 Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Tue, 12 Apr 2016 01:48:46 -0400 Subject: [PATCH] fixed bugs in gruntfile --- gruntfile.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 65420021..c09afe65 100755 --- a/gruntfile.js +++ b/gruntfile.js @@ -148,13 +148,9 @@ module.exports = function(grunt) { }, secure: { NODE_ENV: 'secure', - src: '.env' }, default: { src: '/opt/deploy/.env' - }, - production: { - src: '.prod.env' } }, mochaTest: { @@ -286,8 +282,7 @@ module.exports = function(grunt) { grunt.registerTask('coverage:server', ['env:test', 'mocha_istanbul:coverageServer']); // Default task(s). - grunt.registerTask('default', ['lint', 'html2js:main', 'env:default', 'concurrent:default']); - grunt.registerTask('default', ['lint', 'html2js:main', 'uglify:production', 'cssmin', 'ngAnnotate', 'env:production', 'concurrent:default']); + grunt.registerTask('default', ['lint', 'html2js:main', 'env', 'concurrent:default']); // Debug task. grunt.registerTask('debug', ['lint', 'html2js:main', 'concurrent:debug']);