Updated rebar to new version
This commit is contained in:
9
Makefile
9
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user