diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 8e70d230a..a8cde4a76 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -179,7 +179,7 @@ module.exports = (grunt)-> tasks: ['sass'] test: files: ['./src/**/*.coffee', './src/**/*.js', './test/**/*.coffee'] - tasks: ['test'] + tasks: ['script:clear', 'test'] # Compound Tasks ################################################################################################### @@ -266,6 +266,10 @@ module.exports = (grunt)-> # Script Tasks ##################################################################################################### + grunt.registerTask 'script:clear', "clear the current terminal buffer", -> + done = this.async() + grunt.util.spawn cmd:'clear', opts:{stdio:'inherit'}, (error)-> done(error) + grunt.registerTask 'script:deploy:prod', "deploy code by copying to the production branch", -> done = this.async() grunt.util.spawn cmd:'./scripts/deploy', args:['--prod'], opts:{stdio:'inherit'}, (error)-> done(error)