mirror of
https://github.com/valitydev/how_are_you.git
synced 2024-11-06 02:35:16 +00:00
33 lines
382 B
Makefile
33 lines
382 B
Makefile
REBAR := $(shell which rebar3 2>/dev/null || which ./rebar3)
|
|
|
|
.PHONY: all
|
|
|
|
all: update compile xref dialyze clean distclean
|
|
|
|
update:
|
|
$(REBAR) update
|
|
|
|
compile: update
|
|
$(REBAR) compile
|
|
|
|
xref:
|
|
$(REBAR) xref
|
|
|
|
dialyze:
|
|
$(REBAR) as test dialyzer
|
|
|
|
clean:
|
|
$(REBAR) clean
|
|
|
|
distclean:
|
|
rm -rf _build
|
|
|
|
run:
|
|
$(REBAR) as run shell
|
|
|
|
check_format:
|
|
$(REBAR) fmt -c
|
|
|
|
format:
|
|
$(REBAR) fmt -w
|