summaryrefslogtreecommitdiff
path: root/Makefile
blob: dfeaa6918c7626dd4efcd6fde195a5b0981e3330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
REBAR ?= $(shell which rebar 2>/dev/null || which ./rebar)

REBAR_FLAGS ?=

all: compile

compile:
	$(REBAR) compile $(REBAR_FLAGS)

test: compile
	$(REBAR) eunit $(REBAR_FLAGS)

clean:
	$(REBAR) clean $(REBAR_FLAGS)

dialyzer:
	$(REBAR) dialyze $(REBAR_FLAGS)