mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 03:33:26 +00:00
Minor: allow hack/build-go.sh to take args for faster iteration.
e.g. $ ./hack/build-go.sh kubelet +++ Building kubelet $
This commit is contained in:
@@ -24,6 +24,10 @@ cd "${KUBE_TARGET}"
|
||||
|
||||
BINARIES="proxy integration apiserver controller-manager kubelet cloudcfg localkube"
|
||||
|
||||
if [ $# -gt 0 ]; then
|
||||
BINARIES="$@"
|
||||
fi
|
||||
|
||||
for b in $BINARIES; do
|
||||
echo "+++ Building ${b}"
|
||||
go build "${KUBE_GO_PACKAGE}"/cmd/${b}
|
||||
|
Reference in New Issue
Block a user