Makefile/Rakefile: add checkupdate target

Runs `pre-commit autoupdate`
This commit is contained in:
John Bampton
2022-10-23 16:42:29 +10:00
parent f5824029ad
commit 72f22afc99
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -17,3 +17,7 @@ clean :
check :
pre-commit run --all-files
.PHONY : check
checkupdate :
pre-commit autoupdate
.PHONY : checkupdate
+4
View File
@@ -99,3 +99,7 @@ end
task :check do
sh "pre-commit run --all-files"
end
task :checkupdate do
sh "pre-commit autoupdate"
end