mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 04:36:00 +00:00
Overhaul deps on generator tools
This forces a regeneration if the generation tools are rebuilt. Also clean up Makefile a bit.
This commit is contained in:
@@ -52,6 +52,7 @@ export LOG_LEVEL=4
|
||||
cd /go/src/k8s.io/kubernetes
|
||||
rm -rf Godeps/_workspace # Temporary until _workspace is fully obliterated
|
||||
|
||||
make generated_files
|
||||
go install ./cmd/...
|
||||
./hack/install-etcd.sh
|
||||
|
||||
|
@@ -25,6 +25,7 @@ cd "${KUBE_ROOT}"
|
||||
|
||||
# This is required before we run govet for the results to be correct.
|
||||
# See https://github.com/golang/go/issues/16086 for details.
|
||||
make generated_files
|
||||
go install ./cmd/...
|
||||
|
||||
# Use eval to preserve embedded quoted strings.
|
||||
|
@@ -117,6 +117,7 @@ if [[ -z ${haveindex} ]]; then
|
||||
fi
|
||||
|
||||
echo "Building codecgen"
|
||||
make generated_files
|
||||
CODECGEN="${PWD}/codecgen_binary"
|
||||
go build -o "${CODECGEN}" ./vendor/github.com/ugorji/go/codec/codecgen
|
||||
|
||||
|
Reference in New Issue
Block a user