From aa4cdac005696dffafb23fea2a16c04176cfb102 Mon Sep 17 00:00:00 2001 From: nikhiljindal Date: Wed, 20 Apr 2016 16:29:41 -0700 Subject: [PATCH] hack/build-go tp build federation/cmd/federated-apiserver as well --- build/common.sh | 1 + hack/lib/golang.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/build/common.sh b/build/common.sh index 307c5f4261b..c83942e1e65 100755 --- a/build/common.sh +++ b/build/common.sh @@ -458,6 +458,7 @@ function kube::build::source_targets() { cmd docs examples + federation Godeps/_workspace/src Godeps/Godeps.json hack diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 7d99cbc5862..0da2a2fc46d 100755 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -26,6 +26,8 @@ if [ -n "${KUBERNETES_CONTRIB:-}" ]; then fi # The set of server targets that we are only building for Linux +# Note: if you are adding something here, you might need to add it to +# kube::build::source_targets in build/common.sh as well. kube::golang::server_targets() { local targets=( cmd/kube-proxy @@ -34,6 +36,7 @@ kube::golang::server_targets() { cmd/kubelet cmd/kubemark cmd/hyperkube + federation/cmd/federated-apiserver plugin/cmd/kube-scheduler ) if [ -n "${KUBERNETES_CONTRIB:-}" ]; then