2015-07-25 21:36:35 +02:00
|
|
|
REBAR = $(shell pwd)/rebar3
|
|
|
|
|
2015-07-25 20:33:15 +02:00
|
|
|
all: compile
|
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-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:
|
2013-04-23 15:41:49 -05:00
|
|
|
erl -pa ebin/ deps/*/ebin/ -eval "application:start(qdate)"
|
2015-07-25 21:36:35 +02:00
|
|
|
|
|
|
|
publish:
|
|
|
|
$(REBAR) as pkg upgrade
|
|
|
|
$(REBAR) as pkg hex publish
|
|
|
|
$(REBAR) upgrade
|
|
|
|
|