mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
function to turn list of targets to list of go packages
This commit is contained in:
@@ -51,10 +51,7 @@ if [[ ${#targets[@]} -eq 0 ]]; then
|
||||
targets=($(kube::default_build_targets))
|
||||
fi
|
||||
|
||||
binaries=()
|
||||
for target in ${targets[@]}; do
|
||||
binaries+=("${KUBE_GO_PACKAGE}/${target}")
|
||||
done
|
||||
binaries=($(kube::binaries_from_targets "${targets[@]}"))
|
||||
|
||||
echo "Building local go components"
|
||||
# Note that the flags to 'go build' are duplicated in the salt build setup
|
||||
|
Reference in New Issue
Block a user