Fix error in Gruntfile

This commit is contained in:
Andrew Miner
2016-04-03 20:23:54 -07:00
parent aa1589f23b
commit a54b57514e
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -6,4 +6,4 @@ build
deploy deploy
dist dist
node_modules node_modules
src/coffee/views.js templates.js
+1 -1
View File
@@ -152,7 +152,7 @@ module.exports = (grunt)->
# Compound Tasks ################################################################################################### # Compound Tasks ###################################################################################################
grunt.registerTask 'build', 'build the project to be run from a local server', grunt.registerTask 'build', 'build the project to be run from a local server',
['jade', 'build:copy', 'css', 'browserify:external', 'browserify:internal'] ['jade', 'build:copy', 'build:css', 'browserify:external', 'browserify:internal']
grunt.registerTask 'build:copy', 'helper task for build', grunt.registerTask 'build:copy', 'helper task for build',
['copy:assets_build', 'copy:common_source', 'copy:server_source'] ['copy:assets_build', 'copy:common_source', 'copy:server_source']
+1
View File
@@ -13,6 +13,7 @@ while [[ "$1" != "" ]]; do
"--production") ENVIRONMENT="production";; "--production") ENVIRONMENT="production";;
*) die "Please specify environment: --staging or --production";; *) die "Please specify environment: --staging or --production";;
esac esac
shift
done done
SOURCE_DIR="./dist/" SOURCE_DIR="./dist/"