3rd party erlang.mk plug-in for Elvis
If you find any bugs or have a problem while using this library, please open an issue in this repo (or a pull request :)).
And you can check all of our open-source projects at inaka.github.io.
In order to include this plugin in your project you just need to add the following in your Makefile:
BUILD_DEPS = elvis_mk
dep_elvis_mk = git https://github.com/inaka/elvis.mk.git 1.1.2
DEP_PLUGINS = elvis_mk
ELVIS_VERSION
- the Elvis version to build and use
1.1.0
make distclean-elvis
after changing the versionELVIS_REBAR3
- path to the Rebar3 executable to build Elvis with
rebar3
ELVIS_REBAR3_URL
ELVIS_REBAR3_URL
https://s3.amazonaws.com/rebar3/rebar3
For even more extras use the force, read the source.
Run make help
in order to check what targets are available for
elvis.mk
.
For example you can run make elvis
:
Loading files...
Loading src/your_module.erl
Applying rules...
# src/your_module.erl [FAIL]
- operator_spaces
- Missing space after "," on line 27
Loading files...
Loading Makefile
Applying rules...
# Makefile [OK]
Loading files...
Loading elvis.config
Applying rules...
# elvis.config [OK]
make: *** [elvis] Error 1