This commit is contained in:
Stash Dev 2019-02-28 19:02:09 -08:00
parent d0331c53dc
commit 9aba952dbe
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,6 @@ script:
- go test
before_deploy:
- docker pull bepsays/ci-goreleaser
- go get -u github.com/gobuffalo/packr/v2/packr2
- sh ./scripts/cross-compile.sh
- git tag -f v0.0.0-alpha
- git push -f --tags

View File

@ -1,6 +1,6 @@
#!/bin/sh
SETUP="export GO111MODULE=on; export CGO_ENABLED=1; go get -u github.com/gobuffalo/packr/v2/packr2;"
SETUP="go install github.com/gobuffalo/packr/v2/packr2; export GO111MODULE=on; export CGO_ENABLED=1;"
WINDOWS="GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ packr2 build -o dist/stash-win.exe -ldflags \"-extldflags '-static'\" -tags extended -v -mod=vendor;"
DARWIN="GOOS=darwin GOARCH=amd64 CC=o64-clang CXX=o64-clang++ packr2 build -o dist/stash-osx -tags extended -v -mod=vendor;"
LINUX="packr2 build -o dist/stash-linux -v -mod=vendor;"