mirror of
https://github.com/valitydev/cowboy_kitten.git
synced 2024-11-06 10:25:24 +00:00
29 lines
315 B
Makefile
29 lines
315 B
Makefile
REBAR := $(shell which rebar3 2>/dev/null || which ./rebar3)
|
|
|
|
all: compile
|
|
|
|
compile:
|
|
$(REBAR) compile
|
|
|
|
rebar-update:
|
|
$(REBAR) update
|
|
|
|
test:
|
|
$(REBAR) eunit
|
|
|
|
xref:
|
|
$(REBAR) as test xref
|
|
|
|
clean:
|
|
$(REBAR) clean
|
|
|
|
distclean:
|
|
$(REBAR) clean -a
|
|
rm -rfv _build
|
|
|
|
dialyze:
|
|
$(REBAR) as test dialyzer
|
|
|
|
lint:
|
|
elvis rock
|