fixed bugs in gruntfile

This commit is contained in:
David Baldwynn 2016-04-12 01:48:46 -04:00
parent 0ccae335dc
commit 72083ea20c

View File

@ -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']);