Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/candy-chat/candy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Langfeld <ben@langfeld.me>2015-08-11 15:57:15 +0300
committerBen Langfeld <ben@langfeld.me>2015-08-11 15:57:15 +0300
commitab1d173a2b52c48a56f5d4ddbb1e9b1b08b556a9 (patch)
treeb9ed2708e9f0898a16d178c459101e25b7070e7f /Gruntfile.js
parent711ab71230076539ef3139e02475976a275d1997 (diff)
Add grunt task for creating release packages
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js14
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');