format: Introduce shellcheck [1] for shell script analysis

[1] https://github.com/koalaman/shellcheck
This commit is contained in:
Max Leonard Inden
2018-06-18 23:00:48 +02:00
parent 17477a1107
commit cd709826c9
5 changed files with 12 additions and 13 deletions

View File

@@ -112,7 +112,7 @@ rm -rf manifests
mkdir manifests
# optional, but we would like to generate yaml, not json
jsonnet -J vendor -m manifests ${1-example.jsonnet} | xargs -I{} sh -c 'cat $1 | gojsontoyaml > $1.yaml; rm -f $1' -- {}
jsonnet -J vendor -m manifests "${1-example.jsonnet}" | xargs -I{} sh -c 'cat {} | gojsontoyaml > {}.yaml; rm -f {}' -- {}
```