mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +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:
parent
86f837d47e
commit
035bc3ba3c
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user