From a9d0e9a412ab88c2d536558cf606939d91a91c12 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 17 Sep 2022 16:44:24 +0900 Subject: [PATCH] Makefile,Rakefile: rename `lint` target to `check`; #5790 The pre-commit check does some static analysis but the term lint is used as static analysis of software code under the UNIX environment. So we have renamed the target `check`. --- Makefile | 2 +- Rakefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 490b22663..984cf04ff 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,6 @@ clean : $(RAKE) clean .PHONY : clean -lint : +check : pre-commit run --all-files .PHONY : lint diff --git a/Rakefile b/Rakefile index 1bedd230c..93b5f668d 100644 --- a/Rakefile +++ b/Rakefile @@ -96,6 +96,6 @@ task :install_bin => :all do end end -task :lint do +task :check do sh "pre-commit run --all-files" end