Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (19 sloc) 374 Bytes
REBAR="./rebar3"
SHELL = /bin/sh
.DEFAULT_GOAL := compile
.PHONY: publish test dialyzer compile clean
publish: clean compile dialyzer test
$(REBAR) hex publish
$(REBAR) hex docs
test: compile
$(REBAR) eunit
dialyzer: compile
$(REBAR) dialyzer
compile:
$(REBAR) compile
clean:
$(REBAR) clean
rm -f doc/*.html
rm -f doc/*.css
rm -f doc/*.png
rm -f TEST-*.xml