Skip to content

Commit 035fc31

Browse files
committed
Parametrize the rebar binary (processone/fast_tls#51)
1 parent 258c0c0 commit 035fc31

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1+
REBAR ?= rebar
2+
13
all: src
24

35
src:
4-
rebar get-deps compile
6+
$(REBAR) get-deps
7+
$(REBAR) compile
58

69
clean:
7-
rebar clean
10+
$(REBAR) clean
811

912
test: all
10-
rebar -v skip_deps=true eunit
13+
$(REBAR) eunit
1114

1215
.PHONY: clean src test all

0 commit comments

Comments
 (0)