mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 11:28:54 +00:00
Merge pull request #227 from restic/disable-gox-on-darwin
Disable gox cross compile on darwin
This commit is contained in:
commit
807bb58e98
@ -28,6 +28,7 @@ install:
|
||||
- go get github.com/mattn/goveralls
|
||||
- go get github.com/mitchellh/gox
|
||||
- go version | grep -q "go1\.3" && export GOX_ARCH="386 amd64" || true
|
||||
- go version | grep -q "darwin" && export GOX_OS="darwin" || true
|
||||
- echo "cross-compile for \"$GOX_OS\" on \"$GOX_ARCH\""
|
||||
- gox -build-toolchain -os "$GOX_OS" -arch "$GOX_ARCH"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user