Skip to content

Commit

Permalink
appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
ottomated committed Nov 11, 2020
1 parent 9b2c8c9 commit 38059e4
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ node_modules/
thumbs.db
.idea/
yarn-error.log
/appveyor.yml
/electron-builder.yml
appveyor.yml
electron-builder.yml
25 changes: 25 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
os: unstable
cache:
- node_modules
environment:
matrix:
- nodejs_version: 14
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- npm install -g npm@latest
- set PATH=%APPDATA%\npm;%PATH%
- npm install -g yarn@latest
- yarn install
matrix:
fast_finish: true
test: off
version: '{build}'
shallow_clone: true
clone_depth: 1
build_script:
- yarn publish
artifacts:
- path: dist/win-unpacked
name: unpacked
type: zip
14 changes: 14 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
appId: net.ottomated.crewlink
productName: CrewLink
copyright: Copyright © 2020 Ottomated
directories:
output: dist
buildResources: resources
files:
- from: .
filter:
- package.json
- app
win:
publish:
- github
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"postinstall": "electron-builder install-app-deps",
"dev": "electron-webpack dev",
"compile": "electron-webpack",
"dist": "yarn compile && electron-builder --win --x64"
"dist": "yarn compile && electron-builder --win --x64",
"publish": "yarn compile && electron-builder --win --x64 --publish always"
},
"dependencies": {
"analyser-frequency-average": "^1.0.0",
Expand Down

0 comments on commit 38059e4

Please sign in to comment.