forked from jgraph/drawio-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
36 lines (27 loc) · 786 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: 1.0.{build}
platform:
- x64
cache:
- node_modules
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
- '%LOCALAPPDATA%\Yarn'
init:
- git config --global core.autocrlf input
clone_script:
- cmd: git clone --depth=1 -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
- ps: (gc .\.gitmodules) -replace '[email protected]:','https://github.com/' | Out-File -encoding ASCII .gitmodules
- cmd: git submodule update --init --recursive
install:
- ps: Install-Product node 7 x64
- yarn install
- cd draw.io/war
- yarn install
- cd ../..
before_build:
build_script:
- yarn run sync
- yarn run release
test: off