Implemented clean command

This commit is contained in:
BorisLevitskiy
2015-04-09 16:55:02 +03:00
parent 6b33b0019d
commit c8119f5b37
2 changed files with 5 additions and 1 deletions

View File

@@ -52,7 +52,8 @@ module.exports = function(grunt) {
'build/index.html' : ['build/index.html']
}
}
}
},
clean: ['/build']
});
// Load the plugin that provides the "uglify" task.
@@ -60,6 +61,8 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-processhtml');
grunt.loadNpmTasks('grunt-contrib-clean');

View File

@@ -17,6 +17,7 @@
},
"homepage": "https://github.com/BorysLevytskyi/BitwiseCmd",
"devDependencies": {
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-copy": "^0.8.0",
"grunt-contrib-cssmin": "^0.12.2",
"grunt-contrib-uglify": "^0.9.1",