File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ run = "cog check"
2929interactive = true
3030run = " just --timestamp prepare-commit-msg {1}"
3131[commit-msg .commands .commitzen .env ]
32- LEFTHOOK = 0
32+ LEFTHOOK = " 0 "
3333
3434# Validate commit messages
3535[commit-msg .commands .commitzen ]
Original file line number Diff line number Diff line change @@ -24,6 +24,23 @@ coverage:
2424clean :
2525 task clean
2626
27+ @ doctor :
28+ echo " \n\n === Just Doctor ===\n\n "
29+ just -l
30+ echo " \n\n === Taskfile Doctor ===\n\n "
31+ task -l
32+ echo " \n\n === Pipelight Doctor ===\n\n "
33+ pipelight ls
34+ echo " \n\n === Lefthook Doctor ===\n\n "
35+ lefthook validate
36+ echo " \n\n === Prek Doctor ===\n\n "
37+ prek list
38+ echo " \n\n === Comtrya Doctor ===\n\n "
39+ comtrya -d manifests status
40+ echo " \n\n === Goji Doctor ===\n\n "
41+ goji check
42+ COUNT=$(cat .goji.json | jq ' .types | length' ) ; echo " \n\n Found $COUNT goji types."
43+
2744prepare-commit-msg file :
2845 #!/ bin/ sh
2946 if [ ! -f " .goji.json" ]; then
@@ -43,9 +60,10 @@ lint-commit-msg file:
4360 return 1
4461 fi
4562
46- # TODO: Add remaining packages listed in README.md
4763install :
4864 lefthook install
65+ prek install
66+ prek auto-upgrade
4967
5068help :
5169 task help
You can’t perform that action at this time.
0 commit comments