Mercurial > hg > piper
comparison test.sh @ 40:a5eb5ef2e92d
Process block (input to process call)
author | Chris Cannam |
---|---|
date | Thu, 17 Mar 2016 14:04:17 +0000 |
parents | 26f7e0bb39d6 |
children | 4e9ea8f177b6 |
comparison
equal
deleted
inserted
replaced
39:22c33bd017ba | 40:a5eb5ef2e92d |
---|---|
5 for ex in examples/*.json ; do | 5 for ex in examples/*.json ; do |
6 echo "Checking $ex..." 1>&2 | 6 echo "Checking $ex..." 1>&2 |
7 jsonschema -i "$ex" schema/$(basename "$ex") | 7 jsonschema -i "$ex" schema/$(basename "$ex") |
8 done | 8 done |
9 | 9 |
10 for s in schema/*.json ; do | |
11 if [ ! -f examples/$(basename "$s") ]; then | |
12 echo "WARNING: No example file for schema $s" | |
13 fi | |
14 done | |
15 |