From 798bd34090f2440a82fe460bf1561a3579dfaf35 Mon Sep 17 00:00:00 2001 From: James Sturtevant Date: Mon, 24 Sep 2018 14:43:50 -0700 Subject: [PATCH] Re-enable smoke tests in verify-codegen script The smoke tests were not being run for the example projects. Re-enabled the smoke tests by building each of the sample projects. --- staging/src/k8s.io/code-generator/hack/verify-codegen.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/staging/src/k8s.io/code-generator/hack/verify-codegen.sh b/staging/src/k8s.io/code-generator/hack/verify-codegen.sh index 25302228dfa..497f2a484ca 100755 --- a/staging/src/k8s.io/code-generator/hack/verify-codegen.sh +++ b/staging/src/k8s.io/code-generator/hack/verify-codegen.sh @@ -50,4 +50,6 @@ fi # smoke test echo "Smoke testing _example by compiling..." -go build ${SCRIPT_ROOT}/_example/... \ No newline at end of file +go build ./${SCRIPT_ROOT}/_examples/crd/... +go build ./${SCRIPT_ROOT}/_examples/apiserver/... +go build ./${SCRIPT_ROOT}/_examples/MixedCase/...