This repository has been archived on 2021-09-02. You can view files and clone it, but cannot push or open issues or pull requests.
|
VERSION=1.0
|
|
GO111MODULE=on
|
|
|
|
echo "Fetching dependencies"
|
|
go get ./...
|
|
go get github.com/mitchellh/gox
|
|
echo "Building project"
|
|
mkdir -p builds
|
|
gox -output="builds/hetzner-sb-notifier_{{.OS}}_{{.Arch}}_$VERSION" # -ldflags="-extldflags -static"
|
|
echo "Done"
|