Mercurial > hg > piper
view test.sh @ 160:45fa68ee83ce
Remove the term "plugin" in various places
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 06 Oct 2016 13:38:16 +0100 |
parents | d3b7d5185e55 |
children |
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" | sed 's/-[^.]*//') done for s in schema/*.json ; do if [ ! -f examples/$(basename "$s") ]; then if ! ls -1 examples/$(basename "$s" .json)-*.json >/dev/null 2>&1; then echo "WARNING: No example file for schema $s" fi fi done