5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 13:00:47 +00:00

Only build yggdrasil/yggdrasilctl when running ./build

This commit is contained in:
Neil Alexander 2019-11-19 14:37:16 +00:00
parent 16a487cb1d
commit 4b9bce855e
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

2
build
View File

@ -44,7 +44,7 @@ elif [ $ANDROID ]; then
github.com/yggdrasil-network/yggdrasil-extras/src/mobile \ github.com/yggdrasil-network/yggdrasil-extras/src/mobile \
github.com/yggdrasil-network/yggdrasil-extras/src/dummy github.com/yggdrasil-network/yggdrasil-extras/src/dummy
else else
for CMD in `ls cmd/` ; do for CMD in yggdrasil yggdrasilctl ; do
echo "Building: $CMD" echo "Building: $CMD"
go build $ARGS -ldflags="$LDFLAGS" -gcflags="$GCFLAGS" ./cmd/$CMD go build $ARGS -ldflags="$LDFLAGS" -gcflags="$GCFLAGS" ./cmd/$CMD