Permalink
Browse files

Add clean task

  • Loading branch information...
1 parent d759235 commit 1e57388456d0664c53e9a21f8c74bac19c4aa8e0 @kevinsawicki kevinsawicki committed Mar 25, 2013
Showing with 9 additions and 1 deletion.
  1. +9 −1 Gruntfile.coffee
View
@@ -25,7 +25,15 @@ module.exports = (grunt) ->
stderr: true
failOnError: true
+ clean:
+ command: 'rm -fr build deps/libgit2/build'
+ options:
+ stdout: true
+ stderr: true
+ failOnError: true
+
grunt.loadNpmTasks('grunt-contrib-coffee')
grunt.loadNpmTasks('grunt-shell')
grunt.registerTask('default', ['coffee', 'shell:rebuild'])
- grunt.registerTask('test', ['coffee', 'shell'])
+ grunt.registerTask('test', ['default', 'shell:test'])
+ grunt.registerTask('clean', ['shell:clean'])

0 comments on commit 1e57388

Please sign in to comment.