2022-12-01 16:41:34 +00:00
|
|
|
# https://taskfile.dev
|
|
|
|
|
|
|
|
version: '3'
|
|
|
|
|
|
|
|
vars:
|
|
|
|
GREETING: Hello, World!
|
|
|
|
|
|
|
|
tasks:
|
2022-12-01 17:50:41 +00:00
|
|
|
"precommit:init": pre-commit install -t pre-merge-commit -t pre-push
|
|
|
|
|
2022-12-01 18:55:34 +00:00
|
|
|
integrate:
|
|
|
|
cmds:
|
|
|
|
- git is-clean
|
|
|
|
- git co main
|
|
|
|
- git weld -
|
2022-12-01 18:15:20 +00:00
|
|
|
|
|
|
|
lint:fix:
|
|
|
|
cmds:
|
|
|
|
- npx prettier --write {{.CLI_ARGS | default "." }}
|
|
|
|
|
2022-12-01 16:41:34 +00:00
|
|
|
default:
|
|
|
|
cmds:
|
|
|
|
- echo "{{.GREETING}}"
|
|
|
|
silent: true
|