glyphance/Makefile

8 lines
303 B
Makefile
Raw Permalink Normal View History

2022-11-21 14:40:16 +00:00
jsonschema:
rm -rf docs/config
mkdir -p tmp docs/config
cat src/assets/config.schema.yaml | python3 -c 'import yaml; import json; import sys; print(json.dumps(yaml.safe_load(sys.stdin)));' > tmp/glyphance.schema.json
pnpm dlx @adobe/jsonschema2md --input tmp --out docs/config
rm -r out
rm -r tmp