Skip to content

Commit

Permalink
Added xref checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Oct 15, 2020
1 parent d511044 commit 440ce60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ jobs:
- uses: actions/checkout@v2
- name: Compile
run: rebar3 compile
- name: Xref Check
run: rebar3 xref
- name: Run Tests
run: rebar3 as test eunit
5 changes: 5 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
{color, {git, "https://github.com/julianduque/erlang-color.git", {tag, "v1.0.0"}}}
]}.

{xref_checks,[
undefined_function_calls,undefined_functions,locals_not_used,
deprecated_function_calls,deprecated_functions
]}.

{pre_hooks, [
%% DEBUG:
%% {"(linux|darwin|solaris|freebsd|netbsd|openbsd)", compile,
Expand Down

0 comments on commit 440ce60

Please sign in to comment.