add Taskfile
This commit is contained in:
parent
078d7d7a85
commit
936b2344cd
17
Taskfile.yaml
Normal file
17
Taskfile.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user