Fix error in Gruntfile
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ build
|
||||
deploy
|
||||
dist
|
||||
node_modules
|
||||
src/coffee/views.js
|
||||
templates.js
|
||||
|
||||
+1
-1
@@ -152,7 +152,7 @@ module.exports = (grunt)->
|
||||
# Compound Tasks ###################################################################################################
|
||||
|
||||
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',
|
||||
['copy:assets_build', 'copy:common_source', 'copy:server_source']
|
||||
|
||||
@@ -13,6 +13,7 @@ while [[ "$1" != "" ]]; do
|
||||
"--production") ENVIRONMENT="production";;
|
||||
*) die "Please specify environment: --staging or --production";;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
SOURCE_DIR="./dist/"
|
||||
|
||||
Reference in New Issue
Block a user