Use rebar from the system path instead of a binary included in the project

This commit is contained in:
Juan Jose Comellas
2012-04-16 13:12:32 -03:00
parent 0db1767179
commit a5279f57da
2 changed files with 13 additions and 6 deletions
+5 -5
View File
@@ -14,10 +14,10 @@ APPS=kernel stdlib
all: compile
compile:
@./rebar compile
@rebar compile
doc:
@./rebar doc
@rebar doc
plt: compile
@$(DIALYZER) --build_plt --output_plt $(PLT_FILE) --apps $(APPS) ebin
@@ -29,13 +29,13 @@ analyze: compile
@$(DIALYZER) --plt $(PLT_FILE) $(DIALYZER_OPTS) -r ebin
clean:
@./rebar clean
@rebar clean
test:
@./rebar eunit
@rebar eunit
dialyzer:
@./rebar analyze
@rebar analyze
console: compile
$(ERL) -sname $(APPLICATION) $(EPATH)