Skip to content

Commit

Permalink
Detect local rebar as fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
eproxus committed Jun 9, 2011
1 parent b1904a2 commit 9f9ea4a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
all:
@rebar compile
REBAR=`which rebar || ./rebar`

all: compile

compile:
@$(REBAR) compile

test: force
@rebar eunit
@$(REBAR) eunit

clean:
@rebar clean
@$(REBAR) clean

force: ;

0 comments on commit 9f9ea4a

Please sign in to comment.