2019-08-21 11:59:43 -05:00
|
|
|
REBAR_PATH = $(shell which rebar3)
|
|
|
|
|
|
|
|
ifeq ($(REBAR_PATH),)
|
2015-07-25 21:36:35 +02:00
|
|
|
REBAR = $(shell pwd)/rebar3
|
2019-08-21 11:59:43 -05:00
|
|
|
else
|
|
|
|
REBAR = rebar3
|
|
|
|
endif
|
|
|
|
|
2015-07-25 21:36:35 +02:00
|
|
|
|
2015-07-25 20:33:15 +02:00
|
|
|
all: compile
|
2013-01-14 21:20:36 -06:00
|
|
|
|
2021-06-30 18:03:55 -05:00
|
|
|
dialyzer:
|
|
|
|
$(REBAR) dialyzer
|
|
|
|
|
2013-01-14 21:20:36 -06:00
|
|
|
compile:
|
2015-07-25 21:36:35 +02:00
|
|
|
$(REBAR) compile
|
2013-03-25 16:43:27 -05:00
|
|
|
|
2015-11-05 11:31:38 -06:00
|
|
|
update:
|
|
|
|
$(REBAR) update
|
|
|
|
|
2015-07-25 20:34:57 +02:00
|
|
|
test: compile
|
2015-07-25 21:36:35 +02:00
|
|
|
$(REBAR) eunit
|
2013-04-23 15:37:27 -05:00
|
|
|
|
|
|
|
run:
|
2015-07-27 14:25:21 -05:00
|
|
|
$(REBAR) shell
|
2015-07-25 21:36:35 +02:00
|
|
|
|
|
|
|
publish:
|
|
|
|
$(REBAR) as pkg upgrade
|
|
|
|
$(REBAR) as pkg hex publish
|
|
|
|
$(REBAR) upgrade
|
|
|
|
|