5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-29 14:21:37 +00:00
yggdrasil-go/build

12 lines
225 B
Plaintext
Raw Normal View History

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