verify-plantbuild.sh 228 B

1234567891011
  1. #!/usr/bin/env sh
  2. set -o errexit
  3. set -o nounset
  4. set -o pipefail
  5. if ! find . -name '*.jsonnet' -exec jsonnetfmt --test '{}' +
  6. then
  7. echo "ERROR: found unformatted jsonnet files. Fix with hack/update-plantbuild.sh"
  8. exit 1
  9. fi