Update circle.ci to install grunt

This commit is contained in:
Andrew Miner
2016-04-03 20:00:10 -07:00
parent a73850897f
commit d3f78e9349
2 changed files with 8 additions and 5 deletions
+4 -2
View File
@@ -159,9 +159,9 @@ module.exports = (grunt)->
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']
@@ -171,6 +171,8 @@ module.exports = (grunt)->
grunt.registerTask 'test', ['mochaTest']
grunt.registerTask 'upload', ['dist', 'script:s3_upload']
# Code Tasks #######################################################################################################
grunt.registerTask 'browserify:external', "Bundle 3rd-party libraries used in the app", ->
+4 -3
View File
@@ -1,12 +1,13 @@
dependencies:
pre:
- gem install sass --version ">= 3.4"
- npm install -g grunt-cli
deployment:
staging:
branch: master
branch: staging
commands:
- ./scripts/deploy --staging
- grunt deploy:staging
production:
branch: production
commands:
- ./scripts/deploy --production
- grunt deploy:prod