mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-11 18:54:23 +00:00
12 lines
225 B
Bash
Executable File
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 -v $file
|
|
#go build -ldflags="-s -w" -v $file
|
|
#upx --brute ${file/.go/}
|
|
done
|