From f5cd3bfa82abe2f8ac74d4a22fcedde19c4f9bcc Mon Sep 17 00:00:00 2001 From: John Bampton Date: Mon, 26 Dec 2022 14:20:34 +1000 Subject: [PATCH] Add `check` and `checkupdate` to `rake --tasks` --- Rakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rakefile b/Rakefile index e8591442c..69294db30 100644 --- a/Rakefile +++ b/Rakefile @@ -96,10 +96,12 @@ task :install_bin => :all do end end +desc "run all pre-commit hooks against all files" task :check do sh "pre-commit run --all-files" end +desc "check the pre-commit hooks for updates" task :checkupdate do sh "pre-commit autoupdate" end