Makefile: set bash -o pipefail

Fails if any command in a pipe fails.  Similar to the
prometheus-operator Makefile.
This commit is contained in:
Paul Gier
2020-02-05 16:43:32 -06:00
parent 37c8d369ee
commit 92212085c6

View File

@@ -1,3 +1,5 @@
SHELL=/bin/bash -o pipefail
JSONNET_ARGS := -n 2 --max-blank-lines 2 --string-style s --comment-style s
ifneq (,$(shell which jsonnetfmt))
JSONNET_FMT_CMD := jsonnetfmt