yggdrasil-go/build

12 lines
225 B
Plaintext
Raw Normal View History

2018-02-19 01:07:27 +03:00
#!/bin/sh
2017-12-29 07:16:20 +03:00
export GOPATH=$PWD
echo "Downloading..."
go get -d -v
2017-12-29 07:16:20 +03:00
go get -d -v yggdrasil
for file in *.go ; do
echo "Building: $file"
go build -v $file
#go build -ldflags="-s -w" -v $file
#upx --brute ${file/.go/}
done