Fix error in Gruntfile
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ build
|
|||||||
deploy
|
deploy
|
||||||
dist
|
dist
|
||||||
node_modules
|
node_modules
|
||||||
src/coffee/views.js
|
templates.js
|
||||||
|
|||||||
+1
-1
@@ -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']
|
||||||
|
|||||||
@@ -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/"
|
||||||
|
|||||||
Reference in New Issue
Block a user