Mercurial > hg > piper
view test.sh @ 58:a0a6cc6c72cb
Add configured output descriptor, split from output descriptor
author | Chris Cannam |
---|---|
date | Fri, 23 Sep 2016 13:06:34 +0100 |
parents | a5eb5ef2e92d |
children | 4e9ea8f177b6 |
line wrap: on
line source
#!/bin/bash set -eu for ex in examples/*.json ; do echo "Checking $ex..." 1>&2 jsonschema -i "$ex" schema/$(basename "$ex") done for s in schema/*.json ; do if [ ! -f examples/$(basename "$s") ]; then echo "WARNING: No example file for schema $s" fi done