mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-23 18:15:24 +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
|