mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
a9d0e9a412
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`.
20 lines
242 B
Makefile
20 lines
242 B
Makefile
# mruby is using Rake (https://ruby.github.io/rake/) as a build tool.
|
|
|
|
RAKE = rake
|
|
|
|
all :
|
|
$(RAKE)
|
|
.PHONY : all
|
|
|
|
test : all
|
|
$(RAKE) test
|
|
.PHONY : test
|
|
|
|
clean :
|
|
$(RAKE) clean
|
|
.PHONY : clean
|
|
|
|
check :
|
|
pre-commit run --all-files
|
|
.PHONY : lint
|