Use system provided rebar3, fixed macos in ci
This commit is contained in:
parent
68e9605c92
commit
82ad650674
8
Makefile
8
Makefile
@ -1,12 +1,12 @@
|
||||
REBAR3 ?= $(shell test -e `which rebar3` 2>/dev/null && which rebar3 || echo "./rebar3")
|
||||
REBAR=rebar3
|
||||
|
||||
all: compile
|
||||
|
||||
compile:
|
||||
${REBAR3} compile
|
||||
${REBAR} compile
|
||||
|
||||
clean:
|
||||
${REBAR3} clean
|
||||
${REBAR} clean
|
||||
|
||||
test: compile
|
||||
${REBAR3} eunit
|
||||
${REBAR} eunit
|
Loading…
x
Reference in New Issue
Block a user