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.
my-bloody-hetzner-sb-notifier/build_gox.sh

11 lines
255 B
Bash
Raw Permalink Normal View History

VERSION=1.0
GO111MODULE=on
echo "Fetching dependencies"
go get ./...
go get github.com/mitchellh/gox
echo "Building project"
mkdir -p builds
2018-10-27 00:11:14 +02:00
gox -output="builds/hetzner-sb-notifier_{{.OS}}_{{.Arch}}_$VERSION" # -ldflags="-extldflags -static"
echo "Done"