mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-26 02:48:37 +01:00
Give useful error if z-schema is missing
This commit is contained in:
parent
cf3d75103c
commit
b2aae762fc
|
|
@ -1,5 +1,11 @@
|
|||
#!/bin/bash -e
|
||||
# Runs z-schema over all of the schema files (looking for matching examples)
|
||||
|
||||
if ! which z-schema; then
|
||||
echo >&2 "Need to install z-schema; run: sudo npm install -g z-schema"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find schema/v1/m.* | while read line
|
||||
do
|
||||
split_path=(${line///// })
|
||||
|
|
|
|||
Loading…
Reference in a new issue