Merge pull request #5790 from jbampton/add-lint-target-to-make

Add `lint` target to the Makefile
This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-09-17 16:41:16 +09:00
committed by GitHub
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -13,3 +13,7 @@ test : all
clean :
$(RAKE) clean
.PHONY : clean
lint :
pre-commit run --all-files
.PHONY : lint
+4
View File
@@ -95,3 +95,7 @@ task :install_bin => :all do
end
end
end
task :lint do
sh "pre-commit run --all-files"
end