mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-22 18:50:27 +00:00
Only build yggdrasil/yggdrasilctl when running ./build
This commit is contained in:
parent
16a487cb1d
commit
4b9bce855e
2
build
2
build
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user