1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 02:42:17 -05:00

add build for node-webkit

This commit is contained in:
Tankred Hase 2014-03-02 17:56:42 +01:00
parent 247c33d3cb
commit e8f0c3b509
3 changed files with 17 additions and 3 deletions

2
.gitignore vendored
View File

@ -5,7 +5,7 @@ test/lib/
.sass-cache .sass-cache
src/css/ src/css/
dist/ dist/
*.zip release/
test/integration/src/ test/integration/src/
src/lib/*.js src/lib/*.js
src/js/crypto/aes-cbc.js src/js/crypto/aes-cbc.js

View File

@ -210,15 +210,25 @@ module.exports = function(grunt) {
} }
}, },
compress: { compress: {
main: { chrome: {
options: { options: {
mode: 'zip', mode: 'zip',
archive: zipName + '.zip' archive: 'release/whiteout_mail_' + zipName + '.zip'
}, },
expand: true, expand: true,
cwd: 'dist/', cwd: 'dist/',
src: ['**/*'], src: ['**/*'],
dest: 'release/' dest: 'release/'
},
nodeWebkit: {
options: {
mode: 'zip',
archive: 'release/whiteout_mail_' + zipName + '.nw'
},
expand: true,
cwd: 'dist/',
src: ['**/*'],
dest: '/'
} }
} }
}); });

4
src/package.json Normal file
View File

@ -0,0 +1,4 @@
{
"name": "Whiteout Mail",
"main": "chrome.html"
}