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/dummy
else
for CMD in `ls cmd/` ; do
for CMD in yggdrasil yggdrasilctl ; do
echo "Building: $CMD"
go build $ARGS -ldflags="$LDFLAGS" -gcflags="$GCFLAGS" ./cmd/$CMD