mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user