From 72f22afc99c73064c5c1bd79f350d9c466706e61 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sun, 23 Oct 2022 16:42:29 +1000 Subject: [PATCH] Makefile/Rakefile: add checkupdate target Runs `pre-commit autoupdate` --- Makefile | 4 ++++ Rakefile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 088479498..4e70a8e63 100644 --- a/Makefile +++ b/Makefile @@ -17,3 +17,7 @@ clean : check : pre-commit run --all-files .PHONY : check + +checkupdate : + pre-commit autoupdate +.PHONY : checkupdate diff --git a/Rakefile b/Rakefile index 93b5f668d..e8591442c 100644 --- a/Rakefile +++ b/Rakefile @@ -99,3 +99,7 @@ end task :check do sh "pre-commit run --all-files" end + +task :checkupdate do + sh "pre-commit autoupdate" +end