Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rubendel committed Jan 7, 2016
1 parent 36398b5 commit 41da30c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ module.exports = function(grunt) {
grunt
.initConfig({
pkg : grunt.file.readJSON("package.json"),
clean: ["output"],
concat : {
js : {
files : {
"output/bimviews-%VERSION%.js" : [ "js/*.js" ]
"tmp/bimviews-%VERSION%.js" : [ "js/*.js" ]
},
}
},
uglify : {
dist : {
files : {
"output/bimviews-%VERSION%.min.js" : [ "output/bimviews-%VERSION%.js" ]
"output/bimviews-%VERSION%.min.js" : [ "tmp/bimviews-%VERSION%.js" ]
}
}
},
Expand Down Expand Up @@ -69,7 +70,8 @@ module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-contrib-uglify");
grunt.loadNpmTasks("grunt-contrib-cssmin");
grunt.loadNpmTasks("grunt-contrib-copy");
grunt.loadNpmTasks("grunt-contrib-clean");
grunt.loadNpmTasks("grunt-zip");

grunt.registerTask("default", [ "concat", "uglify", "cssmin", "copy", "zip", "github-release" ]);
grunt.registerTask("default", [ "clean", "concat", "uglify", "cssmin", "copy", "zip", "github-release" ]);
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"grunt-contrib-concat": "*",
"grunt-contrib-cssmin": "*",
"grunt-contrib-copy": "*",
"grunt-contrib-clean": "*",
"grunt-github-releaser": "*",
"grunt-zip": "*"
},
Expand Down

0 comments on commit 41da30c

Please sign in to comment.