diff options
Diffstat (limited to '')
-rwxr-xr-x | monitoring/ceph-mixin/lint-jsonnet.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/monitoring/ceph-mixin/lint-jsonnet.sh b/monitoring/ceph-mixin/lint-jsonnet.sh new file mode 100755 index 000000000..6f7716269 --- /dev/null +++ b/monitoring/ceph-mixin/lint-jsonnet.sh @@ -0,0 +1,5 @@ +#!/bin/sh -e + +JSONNETS_FILES=$(find . -name 'vendor' -prune -o \ + -name '*.jsonnet' -print -o -name '*.libsonnet' -print) +jsonnetfmt "$@" ${JSONNETS_FILES} |