yggdrasil-go/build

12 lines
227 B
Plaintext
Raw Permalink Normal View History

2017-12-28 22:16:20 -06:00
#!/bin/bash
export GOPATH=$PWD
echo "Downloading..."
go get -d -v
2017-12-28 22:16:20 -06: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