profile trick to make it rebar2 compatible.
This commit is contained in:
parent
02734c103b
commit
6dbeefc99b
2 changed files with 25 additions and 7 deletions
12
Makefile
12
Makefile
|
@ -1,10 +1,18 @@
|
|||
REBAR = $(shell pwd)/rebar3
|
||||
|
||||
all: compile
|
||||
|
||||
compile:
|
||||
./rebar3 compile
|
||||
$(REBAR) compile
|
||||
|
||||
test: compile
|
||||
./rebar3 eunit
|
||||
$(REBAR) eunit
|
||||
|
||||
run:
|
||||
erl -pa ebin/ deps/*/ebin/ -eval "application:start(qdate)"
|
||||
|
||||
publish:
|
||||
$(REBAR) as pkg upgrade
|
||||
$(REBAR) as pkg hex publish
|
||||
$(REBAR) upgrade
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue