diff options
author | Ben Langfeld <ben@langfeld.me> | 2015-08-11 15:57:15 +0300 |
---|---|---|
committer | Ben Langfeld <ben@langfeld.me> | 2015-08-11 15:57:15 +0300 |
commit | ab1d173a2b52c48a56f5d4ddbb1e9b1b08b556a9 (patch) | |
tree | b9ed2708e9f0898a16d178c459101e25b7070e7f /Gruntfile.js | |
parent | 711ab71230076539ef3139e02475976a275d1997 (diff) |
Add grunt task for creating release packages
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 70057ca..24bd885 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -184,6 +184,19 @@ module.exports = function(grunt) { options: {}, src: ['src/**/*.js'], tests: ['tests/**/*.js'] + }, + compress: { + main: { + options: { + archive: 'candy.zip' + }, + files: [ + { + src: ['**'], + dest: './' + }, + ] + } } }); @@ -191,6 +204,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-clean'); + grunt.loadNpmTasks('grunt-contrib-compress'); grunt.loadNpmTasks('grunt-natural-docs'); grunt.loadNpmTasks('grunt-mkdir'); grunt.loadNpmTasks('grunt-notify'); |