1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-22 08:52:15 -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
src/css/
dist/
*.zip
release/
test/integration/src/
src/lib/*.js
src/js/crypto/aes-cbc.js

View File

@ -210,15 +210,25 @@ module.exports = function(grunt) {
}
},
compress: {
main: {
chrome: {
options: {
mode: 'zip',
archive: zipName + '.zip'
archive: 'release/whiteout_mail_' + zipName + '.zip'
},
expand: true,
cwd: 'dist/',
src: ['**/*'],
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"
}