Update circle.ci to install grunt
This commit is contained in:
+4
-2
@@ -159,9 +159,9 @@ module.exports = (grunt)->
|
|||||||
|
|
||||||
grunt.registerTask 'default', ['clean', 'start']
|
grunt.registerTask 'default', ['clean', 'start']
|
||||||
|
|
||||||
grunt.registerTask 'deploy:prod', ['dist', 'script:deploy:prod']
|
grunt.registerTask 'deploy:prod', ['script:deploy:prod']
|
||||||
|
|
||||||
grunt.registerTask 'deploy:staging', ['dist', 'script:deploy:staging']
|
grunt.registerTask 'deploy:staging', ['script:deploy:staging']
|
||||||
|
|
||||||
grunt.registerTask 'dist', ['build', 'uglify', 'copy:build_to_dist', 'compress']
|
grunt.registerTask 'dist', ['build', 'uglify', 'copy:build_to_dist', 'compress']
|
||||||
|
|
||||||
@@ -171,6 +171,8 @@ module.exports = (grunt)->
|
|||||||
|
|
||||||
grunt.registerTask 'test', ['mochaTest']
|
grunt.registerTask 'test', ['mochaTest']
|
||||||
|
|
||||||
|
grunt.registerTask 'upload', ['dist', 'script:s3_upload']
|
||||||
|
|
||||||
# Code Tasks #######################################################################################################
|
# Code Tasks #######################################################################################################
|
||||||
|
|
||||||
grunt.registerTask 'browserify:external', "Bundle 3rd-party libraries used in the app", ->
|
grunt.registerTask 'browserify:external', "Bundle 3rd-party libraries used in the app", ->
|
||||||
|
|||||||
+4
-3
@@ -1,12 +1,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
pre:
|
pre:
|
||||||
- gem install sass --version ">= 3.4"
|
- gem install sass --version ">= 3.4"
|
||||||
|
- npm install -g grunt-cli
|
||||||
deployment:
|
deployment:
|
||||||
staging:
|
staging:
|
||||||
branch: master
|
branch: staging
|
||||||
commands:
|
commands:
|
||||||
- ./scripts/deploy --staging
|
- grunt deploy:staging
|
||||||
production:
|
production:
|
||||||
branch: production
|
branch: production
|
||||||
commands:
|
commands:
|
||||||
- ./scripts/deploy --production
|
- grunt deploy:prod
|
||||||
|
|||||||
Reference in New Issue
Block a user