mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 11:42:14 +00:00
Use 'go install' to build all commands at the same time.
'go build' compiles the packages but discards the results if multiple packages specified.
This commit is contained in:
@@ -31,7 +31,4 @@ if [ $# -gt 0 ]; then
|
||||
BINARIES="$@"
|
||||
fi
|
||||
|
||||
for b in ${BINARIES}; do
|
||||
echo "+++ Building ${b}"
|
||||
go build "${KUBE_GO_PACKAGE}/${b}"
|
||||
done
|
||||
go install $(for b in $BINARIES; do echo "${KUBE_GO_PACKAGE}"/${b}; done)
|
||||
|
Reference in New Issue
Block a user