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
Mahmoud Rahbar Azad de5ccdf8e8
added gox param
2018-10-27 00:11:14 +02:00

10 lines
255 B
Bash

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"