Skip to content

Commit

Permalink
Merge pull request #390 from inaka/euen.387.rebar3
Browse files Browse the repository at this point in the history
Euen.387.rebar3
  • Loading branch information
Brujo Benavides authored Aug 5, 2016
2 parents 23bddd7 + b98123e commit e80904c
Show file tree
Hide file tree
Showing 14 changed files with 145 additions and 6,695 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ebin
erl_crash.dump
log*/
.erlang.mk.packages.*
rebar3.crashdump
doc

# Ignore elvis escript
elvis
43 changes: 0 additions & 43 deletions Makefile

This file was deleted.

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ And you can check all of our open-source projects at [inaka.github.io](http://in
## Installation

1. Clone the repo
1. `make && make install`
2. `rebar3 compile`

## Usage

In any `elvis`-enabled product, `elvis rock` will trigger a rule check.

### Script

`elvis` can be turned into a script by executing `make escript`. This will
`elvis` can be turned into a script by executing `rebar3 escriptize`. This will
generate an `elvis` self-contained executable script, from which you can get
help by typing `elvis help`. A list of available commands can be shown using the
`--commands` option (i.e. `elvis --commands`).
Expand Down Expand Up @@ -161,7 +161,6 @@ elvis rock -p deps/elvis_rules/ebin -c elvis.config
## Dependencies

- Erlang/OTP 18+
- make
- git

## References
Expand Down
6 changes: 3 additions & 3 deletions config/elvis-test.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
filter => "*.erl",
ruleset => erl_files
},
#{dirs => ["."],
#{dirs => ["../../"],
filter => "Makefile",
ruleset => makefiles
},
#{dirs => ["."],
#{dirs => ["../../"],
filter => "rebar.config",
ruleset => rebar_config
},
#{dirs => ["."],
#{dirs => ["../../"],
filter => "elvis.config",
ruleset => elvis_config
}
Expand Down
Loading

0 comments on commit e80904c

Please sign in to comment.