From 9159d391464882c112cd5f000581bd8926a9d5e3 Mon Sep 17 00:00:00 2001 From: Dmitriy Kalinin Date: Wed, 20 Mar 2019 12:04:32 -0700 Subject: [PATCH] fail ./hack/build.sh with better msg for missing ytt --- hack/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/build.sh b/hack/build.sh index f24707d6b..f0440a2bf 100755 --- a/hack/build.sh +++ b/hack/build.sh @@ -8,6 +8,8 @@ go fmt ./cmd/... ./pkg/... ./test/... # template all playground assets # into a single Go file cd pkg/kapp/website; + + ytt version || { echo >&2 "ytt is required for building. Install from https://github.com/k14s/ytt"; exit 1; } ytt template -R \ -f . \ -f ../../../hack/build-values.yml \