qdate/Makefile
2021-06-30 18:03:55 -05:00

31 lines
347 B
Makefile

REBAR_PATH = $(shell which rebar3)
ifeq ($(REBAR_PATH),)
REBAR = $(shell pwd)/rebar3
else
REBAR = rebar3
endif
all: compile
dialyzer:
$(REBAR) dialyzer
compile:
$(REBAR) compile
update:
$(REBAR) update
test: compile
$(REBAR) eunit
run:
$(REBAR) shell
publish:
$(REBAR) as pkg upgrade
$(REBAR) as pkg hex publish
$(REBAR) upgrade