Makefile: set bash -o pipefail
Fails if any command in a pipe fails. Similar to the prometheus-operator Makefile.
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,3 +1,5 @@
|
|||||||
|
SHELL=/bin/bash -o pipefail
|
||||||
|
|
||||||
JSONNET_ARGS := -n 2 --max-blank-lines 2 --string-style s --comment-style s
|
JSONNET_ARGS := -n 2 --max-blank-lines 2 --string-style s --comment-style s
|
||||||
ifneq (,$(shell which jsonnetfmt))
|
ifneq (,$(shell which jsonnetfmt))
|
||||||
JSONNET_FMT_CMD := jsonnetfmt
|
JSONNET_FMT_CMD := jsonnetfmt
|
||||||
|
|||||||
Reference in New Issue
Block a user