summaryrefslogtreecommitdiff
path: root/Makefile
blob: d1dd7423a187e1ba72824eeb78f5d421aea66f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)

deb:
	cd packaging/deb && $(MAKE) TOPDIR=$(PWD) deb