Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 405 Bytes
.PHONY: all dirs compile clean examples eg dialyzer typer
REBAR ?= rebar3
all: dirs deps compile
dirs:
@mkdir -p priv/tmp
compile:
@$(REBAR) compile
clean:
@$(REBAR) 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