Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Euen.387.rebar3 #390

Merged
merged 2 commits into from
Aug 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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