Add grunt target for a zip ball.

This commit is contained in:
FelisCatus 2014-09-24 11:42:35 +08:00
parent a008e492b0
commit e2332c4ff9
5 changed files with 13 additions and 1 deletions

View File

@ -2,3 +2,4 @@
/omega_target_*.min.js
/build
/release.zip

View File

@ -6,3 +6,4 @@ module.exports =
'copy'
]
test: ['mochaTest']
release: ['default', 'compress']

View File

@ -0,0 +1,9 @@
module.exports =
options:
archive: './release.zip'
mode: 'zip'
build:
cwd: 'build'
src: ['**']
expand: true
filter: 'isFile'

View File

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "__MSG_manifest_app_name__",
"version": "2.1.3",
"version": "2.1.4",
"description": "__MSG_manifest_app_description__",
"icons": {
"16": "img/icons/omega-16.png",

View File

@ -11,6 +11,7 @@
"grunt-browserify": "^3.0.0",
"grunt-coffeelint": "^0.0.13",
"grunt-contrib-coffee": "^0.11.1",
"grunt-contrib-compress": "^0.12.0",
"grunt-contrib-copy": "^0.5.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-mocha-test": "~0.11.0",