Browse files

Change which can specify rebar

  • Loading branch information...
1 parent 4ee40ab commit 64ac70bbb63e160c7c866082e263b209c83e2b04 @yosukehara yosukehara committed Aug 16, 2012
Showing with 14 additions and 11 deletions.
  1. +14 −11 Makefile
View
25 Makefile
@@ -1,20 +1,23 @@
.PHONY: deps test
+REBAR := ./rebar
all:
- @./rebar update-deps
- @./rebar get-deps
- @./rebar compile
- @./rebar xref skip_deps=true
- @./rebar eunit skip_deps=true
+ @$(REBAR) update-deps
+ @$(REBAR) get-deps
+ @$(REBAR) compile
+ @$(REBAR) xref skip_deps=true
+ @$(REBAR) eunit skip_deps=true
compile:
- @./rebar compile skip_deps=true
+ @$(REBAR) compile skip_deps=true
xref:
- @./rebar xref skip_deps=true
+ @$(REBAR) xref skip_deps=true
eunit:
- @./rebar eunit skip_deps=true
+ @$(REBAR) eunit skip_deps=true
clean:
- @./rebar clean skip_deps=true
+ @$(REBAR) clean skip_deps=true
distclean:
- @./rebar delete-deps
- @./rebar clean
+ @$(REBAR) delete-deps
+ @$(REBAR) clean
+qc:
+ @$(REBAR) qc skip_deps=true

0 comments on commit 64ac70b

Please sign in to comment.