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