Commit 9dfa1824 by sanjay-patel-1991 Committed by Vishal Kadam

Update gruntfile.js for build task

parent 6b8c1312
......@@ -146,11 +146,11 @@ module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.registerTask('default', ['devUpdate', 'bower', 'jshint', 'jsbeautifier:default']);
grunt.registerTask('server', ['jshint','build','bower','minify','copy:mainjs','concurrent']);
grunt.registerTask('server', ['jshint','build','concurrent']);
grunt.registerTask('build', ['clean','bower','copy:dist','minify','copy:mainjs']);
grunt.registerTask('minify', 'Minify the all js', function() {
var done = this.async();
grunt.file.mkdir('public/dist');
grunt.task.run(['shell:min']);
done();
});
......@@ -160,10 +160,6 @@ module.exports = function(grunt) {
grunt.task.run(['proxit:dev']);
done();
});
grunt.registerTask('build','Build DGI',function(){
grunt.task.run(['clean']);
grunt.task.run(['copy:dist']);
});
grunt.registerTask('release', 'Create release package', function() {
var done = this.async();
git.short(function(str) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment