mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-22 00:13:52 +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?
|