mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-22 16:07:31 +00:00
11 lines
214 B
Plaintext
11 lines
214 B
Plaintext
|
#!/bin/bash
|
||
|
export GOPATH=$PWD
|
||
|
echo "Downloading..."
|
||
|
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
|