add Taskfile

releases
Yanick Champoux 2023-11-10 15:29:32 -05:00
parent 078d7d7a85
commit 936b2344cd
1 changed files with 17 additions and 0 deletions

17
Taskfile.yaml Normal file
View File

@ -0,0 +1,17 @@
# https://taskfile.dev
version: '3'
vars:
GREETING: Hello, World!
TARGET_BRANCH: main
tasks:
format:
cmds:
- git diff-ls {{.TARGET_BRANCH}} | grep -e '\.pm$\|\.t$' | xargs -IX perltidy -b X
default:
cmds:
- echo "{{.GREETING}}"
silent: true