Skip to content

Commit

Permalink
makefile: add dialyzer and typer targets
Browse files Browse the repository at this point in the history
  • Loading branch information
msantos committed Nov 29, 2016
1 parent f26c93b commit 4141890
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all dirs compile clean examples eg
.PHONY: all dirs compile clean examples eg dialyzer typer

REBAR ?= rebar3

Expand All @@ -16,3 +16,13 @@ clean:
examples: eg
eg:
@erlc -I deps -o ebin examples/*.erl

dialyzer:
@$(REBAR) dialyzer

typer:
@typer \
-pa _build/default/lib/tunctl/ebin \
-I include \
--plt _build/default/*_plt \
-r ./src

0 comments on commit 4141890

Please sign in to comment.