mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-27 02:07:43 +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
|