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:
Albert Zhang
2014-07-26 22:51:59 -04:00
parent f91bfe2e00
commit 0375709fa3
6 changed files with 10 additions and 7 deletions

View File

@@ -61,4 +61,7 @@ KUBE_GO_PACKAGE_DIR="${GOPATH}/src/${KUBE_GO_PACKAGE}"
rm "${KUBE_GO_PACKAGE_DIR}" >/dev/null 2>&1 || true
ln -s "${KUBE_REPO_ROOT}" "${KUBE_GO_PACKAGE_DIR}"
)
# unset GOBIN in case it already exsit in the current session
unset GOBIN
export GOPATH="${KUBE_TARGET}:${KUBE_REPO_ROOT}/third_party"