mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #208 from thockin/master
Minor: allow hack/build-go.sh to take args for faster iteration.
This commit is contained in:
commit
5785a84edf
@ -24,6 +24,10 @@ cd "${KUBE_TARGET}"
|
|||||||
|
|
||||||
BINARIES="proxy integration apiserver controller-manager kubelet cloudcfg localkube"
|
BINARIES="proxy integration apiserver controller-manager kubelet cloudcfg localkube"
|
||||||
|
|
||||||
|
if [ $# -gt 0 ]; then
|
||||||
|
BINARIES="$@"
|
||||||
|
fi
|
||||||
|
|
||||||
for b in $BINARIES; do
|
for b in $BINARIES; do
|
||||||
echo "+++ Building ${b}"
|
echo "+++ Building ${b}"
|
||||||
go build "${KUBE_GO_PACKAGE}"/cmd/${b}
|
go build "${KUBE_GO_PACKAGE}"/cmd/${b}
|
||||||
|
Loading…
Reference in New Issue
Block a user