Skip to content

Commit 8833b0b

Browse files
authored
Merge pull request #2 from ryb73/appveyor
Appveyor Windows builds
2 parents c69bd56 + ced4a83 commit 8833b0b

File tree

4 files changed

+10202
-5771
lines changed

4 files changed

+10202
-5771
lines changed

appveyor.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
branches:
2+
only:
3+
- master
4+
5+
environment:
6+
nodejs_version: "8"
7+
GH_TOKEN:
8+
secure: mCHkUQ+tL4GmNF0UTbEtl5KsM+ZNX/qm5Fy3aAzkQScrkqhcf7w9Toz0bCT/EyWD
9+
10+
# init:
11+
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
12+
13+
install:
14+
- ps: Install-Product node $env:nodejs_version
15+
- md jsontmp
16+
- cd jsontmp
17+
- npm init -y
18+
- npm i json
19+
- cd ..
20+
- .\jsontmp\node_modules\.bin\json -I -f package.json -e "delete this.devDependencies.nopam; delete this.devDependencies.ocamlBetterErrors"
21+
- rm package-lock.json
22+
- npm install
23+
24+
build_script:
25+
- npm run windows-build-all
26+
- npm run dist
27+
28+
# on_finish:
29+
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

0 commit comments

Comments
 (0)