forked from decred/decrediton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
52 lines (44 loc) · 1.03 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: 0.1.{build}
cache:
- node_modules
- app\node_modules
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
platform:
- x64
init:
- git config --global core.autocrlf input
- set PATH=%GOROOT%\bin;%GOPATH%\bin;%PATH%
install:
- ps: Install-Product node 6 x64
- git reset --hard HEAD
- npm install npm -g
- go version
- go env
- go get -u -v github.com/decred/dcrd
- go get -u -v github.com/decred/dcrwallet
- go get -u -v github.com/Masterminds/glide
- go get -u github.com/golang/dep/cmd/dep
- cd %GOPATH%\\src\\github.com\\decred\\dcrd
- glide i
- go install . ./cmd/dcrctl/
- cd ../dcrwallet
- dep ensure
- go install
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir bin
- cp %GOPATH%\\bin\\dcrd.exe bin/
- cp %GOPATH%\\bin\\dcrctl.exe bin/
- cp %GOPATH%\\bin\\dcrwallet.exe bin/
- npm install
build_script:
- node --version
- npm --version
- npm run package-win
test: off
environment:
GOPATH: c:\gopath
GOROOT: C:\go
artifacts:
- path: 'release\*.exe'
name: DecreditonRelease