Automatic zip creating Grunt

This commit is contained in:
Mahdi Dibaiee 2014-02-21 16:46:15 +03:30
parent 4bf38eb66a
commit 44719bbf8c
4 changed files with 3 additions and 3 deletions

View File

@ -100,14 +100,14 @@ module.exports = function(grunt) {
return /build\/mobile\/(.*)/.exec(path)[1];
},
src: 'build/mobile/**',
dest: 'build/sketchy-mobile-<%= manifest.version %>.zip'
dest: 'sketchy-mobile-<%= manifest.version %>.zip'
},
web: {
router: function(path) {
return /build\/web\/(.*)/.exec(path)[1];
},
src: 'build/web/**',
dest: 'build/sketchy-web-<%= manifest.version %>.zip'
dest: 'sketchy-web-<%= manifest.version %>.zip'
}
},

View File

@ -24,5 +24,5 @@
"Javascript"
],
"author": "Mahdi Dibaiee",
"license": "GPL V2",
"license": "GPL V2"
}

BIN
sketchy-mobile-1.2.zip Normal file

Binary file not shown.

BIN
sketchy-web-1.2.zip Normal file

Binary file not shown.