diff --git a/Taskfile.yaml b/Taskfile.yaml new file mode 100644 index 0000000..522a945 --- /dev/null +++ b/Taskfile.yaml @@ -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