Skip to content

Commit d3381a5

Browse files
committed
Added release target and fixed compress target
1 parent a8b273c commit d3381a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module.exports = function(grunt) {
5353
mode: 'zip'
5454
},
5555
files: [
56-
{ src: 'build/**' }
56+
{ expand: true, cwd: 'build/', src: '**' }
5757
]
5858
}
5959
}
@@ -63,4 +63,5 @@ module.exports = function(grunt) {
6363
grunt.loadNpmTasks("grunt-contrib-copy");
6464
grunt.loadNpmTasks('grunt-contrib-compress');
6565
grunt.registerTask("default", ["ts", "copy"]);
66+
grunt.registerTask("release", ["ts", "copy", "compress"]);
6667
};

0 commit comments

Comments
 (0)