qdate/Makefile

39 lines
478 B
Makefile
Raw Normal View History

REBAR_PATH = $(shell which rebar3)
ifeq ($(REBAR_PATH),)
REBAR = $(shell pwd)/rebar3
else
REBAR = rebar3
endif
2015-07-25 20:33:15 +02:00
all: compile
2013-01-14 21:20:36 -06:00
compile:
$(REBAR) compile
update:
$(REBAR) update
test: compile
$(REBAR) eunit
2013-04-23 15:37:27 -05:00
2021-07-01 08:43:18 -05:00
dialyzer: compile
$(REBAR) dialyzer
travis: test dialyzer
dev:
mkdir -p _checkouts
cd _checkouts; git clone https://github.com/choptastic/qdate_localtime
2013-04-23 15:37:27 -05:00
run:
2015-07-27 14:25:21 -05:00
$(REBAR) shell
publish:
$(REBAR) as pkg upgrade
$(REBAR) as pkg hex publish
$(REBAR) upgrade