mirror of
https://github.com/cooklang/awesome-cooklang-recipes.git
synced 2025-10-30 03:46:51 +00:00
- 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.
35 lines
586 B
YAML
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
|