awesome-cooklang-recipes/Taskfile.yaml
Nicholas Wilde ac283e1071
feat: add render README.md using python script.
- Add python script and pip requirements to render README.md from data.yaml file.
- Update Taskfile.yaml to add render and lint tasks.
- Add lint workflow as GH action to lint project.
- Add User column to README.md.
2022-05-14 03:44:54 +00:00

35 lines
586 B
YAML

---
# https://taskfile.dev
version: '3'
vars:
GREETING: Hello, World!
tasks:
awesome-lint:
desc: Lint using awesome-lint
cmds:
- "npx awesome-lint"
deps:
desc: Install dependencies
cmds:
- pip install -r ./scripts/requirements.txt
lint:
desc: Lint the repo
cmds:
- task: awesome-lint
- task: yamllint
render:
desc: Render README.md
cmds:
- "python scripts/render_readme.py > README.md"
yamllint:
desc: Lint using yamllint
cmds:
- yamllint .
default:
cmds:
- task -l
silent: true