mirror of https://github.com/keeweb/keeweb.git
dev desktop tasks
This commit is contained in:
parent
177b150c95
commit
c73f81a80a
|
@ -54,6 +54,14 @@ For debug build:
|
||||||
1. run `npm run dev`
|
1. run `npm run dev`
|
||||||
2. open `http://localhost:8085`
|
2. open `http://localhost:8085`
|
||||||
|
|
||||||
|
To build desktop apps, use these goals:
|
||||||
|
|
||||||
|
```
|
||||||
|
npm run dev-desktop-macos
|
||||||
|
npm run dev-desktop-windows
|
||||||
|
npm run dev-desktop-linux
|
||||||
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Please read contribution guidelines [for pull requests](.github/PULL_REQUEST_TEMPLATE.md).
|
Please read contribution guidelines [for pull requests](.github/PULL_REQUEST_TEMPLATE.md).
|
||||||
|
|
|
@ -57,6 +57,20 @@ module.exports = function(grunt) {
|
||||||
'build-desktop-executables-darwin'
|
'build-desktop-executables-darwin'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
grunt.registerTask('dev-desktop-win32', 'Build a Windows app in dev environment', [
|
||||||
|
'default',
|
||||||
|
'build-desktop-app-content',
|
||||||
|
'electron:win32-x64',
|
||||||
|
'copy:desktop-windows-helper-x64'
|
||||||
|
]);
|
||||||
|
|
||||||
|
grunt.registerTask('dev-desktop-linux', 'Build a Linux app in dev environment', [
|
||||||
|
'default',
|
||||||
|
'build-desktop-app-content',
|
||||||
|
'electron:linux',
|
||||||
|
'chmod:linux-desktop-x64'
|
||||||
|
]);
|
||||||
|
|
||||||
grunt.registerTask('cordova', 'Build cordova app', [
|
grunt.registerTask('cordova', 'Build cordova app', [
|
||||||
'default',
|
'default',
|
||||||
'build-cordova'
|
'build-cordova'
|
||||||
|
|
|
@ -105,7 +105,9 @@
|
||||||
"build-beta": "grunt --beta && cp dist/index.html ../keeweb-beta/index.html && cd ../keeweb-beta && git add index.html && git commit -a -m 'beta' && git push origin master",
|
"build-beta": "grunt --beta && cp dist/index.html ../keeweb-beta/index.html && cd ../keeweb-beta && git add index.html && git commit -a -m 'beta' && git push origin master",
|
||||||
"electron": "cross-env ELECTRON_DISABLE_SECURITY_WARNINGS=1 KEEWEB_HTML_PATH=http://localhost:8085 electron desktop",
|
"electron": "cross-env ELECTRON_DISABLE_SECURITY_WARNINGS=1 KEEWEB_HTML_PATH=http://localhost:8085 electron desktop",
|
||||||
"dev": "grunt dev",
|
"dev": "grunt dev",
|
||||||
"dev-desktop": "grunt dev-desktop-darwin --skip-sign",
|
"dev-desktop-macos": "grunt dev-desktop-darwin --skip-sign",
|
||||||
|
"dev-desktop-windows": "grunt dev-desktop-win32 --skip-sign",
|
||||||
|
"dev-desktop-linux": "grunt dev-desktop-linux --skip-sign",
|
||||||
"babel-helpers": "babel-external-helpers -l 'slicedToArray,toConsumableArray,defineProperty,typeof' -t global > app/lib/babel-helpers.js"
|
"babel-helpers": "babel-external-helpers -l 'slicedToArray,toConsumableArray,defineProperty,typeof' -t global > app/lib/babel-helpers.js"
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
|
|
Loading…
Reference in New Issue