1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 01:39:35 +02:00

Makefile: Add support for "make elvis" when using rebar3

This commit is contained in:
Badlop 2024-08-26 11:54:36 +02:00
parent 70ee294079
commit d4d9771a71
2 changed files with 10 additions and 1 deletions

View file

@ -642,6 +642,13 @@ dialyzer: erlang_plt deps_plt ejabberd_plt
endif
endif
#.
#' elvis
#
elvis:
$(REBAR) lint
#.
#' test
#
@ -699,6 +706,7 @@ help:
@echo " indent Indent source code using erlang-mode [emacs]"
@echo ""
@echo " dialyzer Run Dialyzer static analyzer"
@echo " elvis Run Elvis source code style reviewer [rebar3]"
@echo " hooks Run hooks validator"
@echo " test Run Common Tests suite [rebar3]"
@echo " test-eunit Run EUnit suite [rebar3]"