mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Makefile: Use a REBAR variable
Using a REBAR variable makes it easy for the user to override the REBAR to be called.
This commit is contained in:
parent
9fe8141d2a
commit
07413113d5
1 changed files with 5 additions and 3 deletions
8
Makefile
8
Makefile
|
@ -1,13 +1,15 @@
|
|||
# See LICENSE for licensing information.
|
||||
|
||||
REBAR = ./rebar
|
||||
|
||||
all: app
|
||||
|
||||
app:
|
||||
@./rebar compile
|
||||
@$(REBAR) compile
|
||||
|
||||
clean:
|
||||
@./rebar clean
|
||||
@$(REBAR) clean
|
||||
rm -f erl_crash.dump
|
||||
|
||||
test:
|
||||
@./rebar eunit
|
||||
@$(REBAR) eunit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue