Dancer2-Plugin-JsonApi/Taskfile.yaml

18 lines
305 B
YAML
Raw Normal View History

2023-11-10 20:29:32 +00:00
# https://taskfile.dev
version: '3'
vars:
GREETING: Hello, World!
TARGET_BRANCH: main
tasks:
2023-11-14 16:45:06 +00:00
tidy:
2023-11-10 20:29:32 +00:00
cmds:
2023-11-14 16:45:06 +00:00
- git diff-ls --diff-filter=ACMR {{.TARGET_BRANCH}} | grep -e '\.pm$\|\.t$|\.pod$' | xargs -IX perltidy -b X
2023-11-10 20:29:32 +00:00
default:
cmds:
- echo "{{.GREETING}}"
silent: true