summaryrefslogtreecommitdiffstats
path: root/monitoring/ceph-mixin/lint-jsonnet.sh
blob: 6f77162698246f643c7d2e0320a98f119ab27db7 (plain)
1
2
3
4
5
#!/bin/sh -e

JSONNETS_FILES=$(find . -name 'vendor' -prune -o \
                        -name '*.jsonnet' -print -o -name '*.libsonnet' -print)
jsonnetfmt "$@" ${JSONNETS_FILES}