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:
Tim Hockin
2016-06-03 22:10:10 -07:00
parent a9f3ccdaa4
commit 1bd3918c15
4 changed files with 183 additions and 95 deletions

View File

@@ -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

View File

@@ -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.

View File

@@ -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