mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-25 01:44:43 +01:00
7 lines
243 B
Plaintext
7 lines
243 B
Plaintext
export GO111MODULE=on # otherwise, a checkout of this repo in GOPATH will disable modules on Go 1.12 and earlier
|
|
source <(go env)
|
|
# build tools for the host platform
|
|
export GOOS="$GOHOSTOS"
|
|
export GOARCH="$GOHOSTARCH"
|
|
# TODO GOARM=$GOHOSTARM?
|