Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
appveyor fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
boramalper committed Dec 23, 2020
1 parent a3acb3a commit e18199c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@ install:
- go version
- go env
- go get -u -v github.com/kevinburke/go-bindata/...
- go get -u -v honnef.co/go/tools/cmd/staticcheck

before_build:
- C:\MinGW\bin\mingw32-make.exe staticcheck
- C:\MinGW\bin\mingw32-make.exe check-formatting

build_script:
- C:\MinGW\bin\mingw32-make.exe magneticod
- C:\MinGW\bin\mingw32-make.exe magneticow
# Build magneticod
- go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticod
# Build magneticow
- go-bindata -pkg "main" -o="cmd/magneticow/bindata.go" -prefix="cmd/magneticow/data/" cmd/magneticow/data/...
- go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticow

test_script:
- C:\MinGW\bin\mingw32-make.exe test
- go test ./...

0 comments on commit e18199c

Please sign in to comment.