Skip to content

Commit 6c7fdba

Browse files
committed
Adding appveyor.yml
1 parent 657c025 commit 6c7fdba

File tree

6 files changed

+41
-1
lines changed

6 files changed

+41
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# OSX trash
22
.DS_Store
33

4+
# Compile dir
5+
dist
6+
47
# Logs
58
logs
69
*.log

appveyor.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: 0.4.{build}
2+
3+
platform:
4+
- x64
5+
6+
cache:
7+
- node_modules
8+
- app\node_modules
9+
- '%APPDATA%\npm-cache'
10+
- '%USERPROFILE%\.electron'
11+
12+
init:
13+
- git config --global core.autocrlf input
14+
15+
install:
16+
- git reset --hard HEAD
17+
- npm install npm -g
18+
- npm install electron-builder@next # force install next version to test electron-builder
19+
- npm install
20+
- npm prune
21+
22+
build_script:
23+
- node --version
24+
- npm --version
25+
- npm run dist:win64
26+
27+
test: off

build/background.png

87.4 KB
Loading

build/icon.icns

131 KB
Binary file not shown.

build/icon.ico

361 KB
Binary file not shown.

package.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@
44
"dev": "electron ./app --debug",
55
"locale-sync": "/usr/bin/env php ./apptools/locale-sync.php",
66
"test": "eslint ./app/main.js ./app/js/*",
7-
"postinstall": "install-app-deps"
7+
"postinstall": "install-app-deps",
8+
"dist": "npm run dist:osx && npm run dist:win32 && npm run dist:win64",
9+
"dist:osx": "build --platform darwin",
10+
"dist:linux": "build --platform linux --arch=all",
11+
"dist:win32": "build --platform win32 --arch ia32",
12+
"dist:win64": "build --platform win32 --arch x64"
13+
},
14+
"build": {
15+
"app-bundle-id": "br.rafajaques.phpassistant",
16+
"app-category-type": "public.app-category.utilities",
17+
"iconUrl": "http://rafajaques.com.br/php-assistant/icon.ico"
818
},
919
"devDependencies": {
1020
"electron-prebuilt": "^1.2.0",

0 commit comments

Comments
 (0)