hyperborea-character-sheet/Taskfile.yml

15 lines
338 B
YAML
Raw Normal View History

2022-04-26 15:14:19 +00:00
# https://taskfile.dev
version: "3"
tasks:
schemas: fd -e yml -p ./schemas-yaml -x task schema SCHEMA='{}'
schema:
vars:
DEST:
sh: echo {{.SCHEMA}} | perl -pe's/ya?ml/json/g'
sources: ["{{.SCHEMA}}"]
generates: ["{{.DEST}}"]
cmds: transerialize {{.SCHEMA}} {{.DEST}}