how_are_you/Makefile

33 lines
382 B
Makefile
Raw Normal View History

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:
2019-04-15 15:03:06 +00:00
$(REBAR) as test dialyzer
clean:
$(REBAR) clean
distclean:
rm -rf _build
2021-07-20 09:09:01 +00:00
run:
$(REBAR) as run shell
2021-07-20 09:23:02 +00:00
check_format:
$(REBAR) fmt -c
format:
$(REBAR) fmt -w