Updated rebar to new version

This commit is contained in:
Alexey Romanov
2010-11-15 11:43:17 +03:00
parent b9ddec8abb
commit 498b07eb01
2 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
REBAR=./rebar REBAR=./rebar
REBAR_COMPILE=$(REBAR) get-deps compile REBAR_COMPILE=$(REBAR) get-deps compile
PLT=dialyzer/sqlite3.plt
all: compile all: compile
@@ -15,12 +16,12 @@ clean:
docs: docs:
$(REBAR_COMPILE) doc $(REBAR_COMPILE) doc
ifeq ($(wildcard dialyzer/sqlite3.plt),)
static: static:
$(REBAR_COMPILE) build_plt analyze $(REBAR_COMPILE)
ifeq ($(wildcard $(PLT)),)
dialyzer --build_plt --apps kernel stdlib erts --output_plt $(PLT)
else else
static: dialyzer --plt $(PLT) -r ebin
$(REBAR_COMPILE) analyze
endif endif
.PHONY: all compile test clean docs static .PHONY: all compile test clean docs static

BIN
rebar vendored

Binary file not shown.