Skip to content

Commit

Permalink
Parametrize the rebar binary (processone/fast_tls#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Jun 18, 2021
1 parent 084dc92 commit b481594
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
REBAR ?= rebar

all: src

src:
rebar get-deps compile
$(REBAR) get-deps
$(REBAR) compile

clean:
rebar clean
$(REBAR) clean

test: all
rebar skip_deps=true eunit
$(REBAR) eunit

.PHONY: clean src all test

0 comments on commit b481594

Please sign in to comment.