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:
parent
247c33d3cb
commit
e8f0c3b509
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||
|
14
Gruntfile.js
14
Gruntfile.js
@ -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
4
src/package.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "Whiteout Mail",
|
||||
"main": "chrome.html"
|
||||
}
|
Loading…
Reference in New Issue
Block a user