Skip to content

Commit 9f2849f

Browse files
committed
added appveyor
1 parent fee5680 commit 9f2849f

3 files changed

Lines changed: 21 additions & 5 deletions

File tree

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ install:
1515
script:
1616
- npm run lint
1717
before_deploy:
18-
- brew update
19-
- brew install wine
20-
- wine --version
21-
- brew install makensis
2218
- npm run build:osx
2319
deploy:
2420
provider: releases

appveyor.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
image: Visual Studio 2017
2+
environment:
3+
matrix:
4+
- PYTHON: C:/Python27-x64
5+
cache:
6+
- node_modules
7+
install:
8+
- ps: Install-Product node 9
9+
- npm install
10+
test_script:
11+
- npm run lint
12+
platform: x64
13+
before_deploy:
14+
- npm run build:win
15+
deploy:
16+
- provider: GitHub
17+
artifact: dist/Memgame-win32-x64.zip
18+
on:
19+
appveyor_repo_tag: true
20+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": "electron .",
88
"lint": "standard",
99
"pack:osx": "rm -rf ./dist/Memgame-darwin-x64 && electron-packager . \"Memgame\" --platform=darwin --arch=x64 --version=1.7.9 --no-prune --out=\"dist\"",
10-
"pack:win": "rm -rf ./dist/Memgame-win32-ia32 && electron-packager . \"Memgame\" --platform=win32 --arch=ia32 --version=1.7.9 --no-prune --out=\"dist\"",
10+
"pack:win": "rm -rf ./dist/Memgame-win32-x64 && electron-packager . \"Memgame\" --platform=win32 --arch=x64 --version=1.7.9 --no-prune --out=\"dist\"",
1111
"build:osx": "npm run pack:osx && zip -r \"dist/Memgame-darwin-x64.zip\" \"dist/Memgame-darwin-x64\"",
1212
"build:win": "npm run pack:win && zip -r \"dist/Memgame-win32-ia32.zip\" \"dist/Memgame-win32-ia32\""
1313
},

0 commit comments

Comments
 (0)