From 9242269b5b28752e0897c4f2d781c85d15919012 Mon Sep 17 00:00:00 2001 From: Phillip Wittrock Date: Thu, 12 Dec 2019 09:35:25 -0800 Subject: [PATCH] update kyaml travis to include new directories and check for generated files --- travis/kyaml-pre-commit.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/travis/kyaml-pre-commit.sh b/travis/kyaml-pre-commit.sh index 8c6462833..28211cf2f 100755 --- a/travis/kyaml-pre-commit.sh +++ b/travis/kyaml-pre-commit.sh @@ -5,4 +5,12 @@ cd kyaml make all cd ../cmd/config -make all \ No newline at end of file +make all + +cd ../kubectl +make all + +# make sure no files were generated or changed by make +cd ../.. +git add . +git diff-index HEAD --