5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-26 20:35:40 +00:00
yggdrasil-go/build
2018-06-06 16:46:15 -05:00

12 lines
225 B
Bash
Executable File

#!/bin/sh
export GOPATH=$PWD
echo "Downloading..."
go get -d -v
go get -d -v yggdrasil
for file in *.go ; do
echo "Building: $file"
go build $@ $file
#go build -ldflags="-s -w" -v $file
#upx --brute ${file/.go/}
done