adventofcode/Taskfile.yaml

25 lines
382 B
YAML

# https://taskfile.dev
version: "3"
vars:
GREETING: Hello, World!
tasks:
"precommit:init": pre-commit install -t pre-merge-commit -t pre-push
integrate:
cmds:
- git is-clean
- git co main
- git weld -
lint:fix:
cmds:
- npx prettier --write {{.CLI_ARGS | default "." }}
default:
cmds:
- echo "{{.GREETING}}"
silent: true