how_are_you/Makefile
2021-07-20 12:23:02 +03:00

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