-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Travis integration for app packaging
- Loading branch information
1 parent
f4191d9
commit 7c042cd
Showing
4 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
language: node_js | ||
node_js: '15' | ||
|
||
os: osx | ||
osx_image: xcode10.2 | ||
|
||
env: | ||
global: | ||
- ELECTRON_CACHE=$HOME/.cache/electron | ||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- $HOME/.cache/electron | ||
- $HOME/.cache/electron-builder | ||
|
||
script: | ||
- yarn release | ||
|
||
before_cache: | ||
- rm -rf $HOME/.cache/electron-builder/wine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"name": "muffon", | ||
"version": "0.1.0-alpha", | ||
"private": true, | ||
"description": "muffon", | ||
"homepage": "https://github.com/staniel359/muffon", | ||
"author": { | ||
"name": "staniel359", | ||
"email": "[email protected]", | ||
|
@@ -12,13 +12,13 @@ | |
"main": "electron.js", | ||
"scripts": { | ||
"start": "vite", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"lint": "eslint src/**/*.{js,vue}", | ||
"start:electron": "cross-env NODE_ENV=development electron .", | ||
"lint": "eslint src/**/*.{js,vue}", | ||
"build": "vite build", | ||
"build:electron": "electron-builder --dir", | ||
"package:electron": "electron-builder", | ||
"build:all": "yarn build && yarn build:electron", | ||
"release:electron": "electron-builder -mwl -p always", | ||
"release": "yarn build && yarn release:electron", | ||
"postinstall": "electron-builder install-app-deps", | ||
"postuninstall": "electron-builder install-app-deps" | ||
}, | ||
|
Binary file not shown.