REBAR ?= rebar3

all: compile

compile:
	@$(REBAR) compile

clean:
	@$(REBAR) clean

test:
	@$(REBAR) ct

examples: eg
eg:
	@erlc +debug_info -I _build/default/lib -o ebin examples/*.erl

.PHONY: test dialyzer clean

dialyzer:
	@$(REBAR) dialyzer
