Mercurial > hg > piper
view test.sh @ 52:a2ca09e95f69
Merge from branch outputid-string-in-featureset
author | Chris Cannam |
---|---|
date | Mon, 19 Sep 2016 14:46:42 +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