Add xref to travis run and clean up Makefile

This commit is contained in:
Tuncer Ayaz 2012-07-02 13:39:37 +02:00
parent 23f1f8147f
commit 691a59669b
2 changed files with 8 additions and 8 deletions

View file

@ -6,4 +6,4 @@ otp_release:
- R15B
- R14B04
- R14B03
script: "make all deps test"
script: "make debug xref clean all deps test"

View file

@ -1,4 +1,4 @@
.PHONY: dialyzer_warnings xref_warnings deps test
.PHONY: clean dialyzer_warnings xref_warnings deps test
REBAR=$(PWD)/rebar
RETEST=$(PWD)/deps/retest/retest
@ -7,7 +7,7 @@ all:
./bootstrap
clean:
@rm -rf rebar ebin/*.beam inttest/rt.work
@rm -rf rebar ebin/*.beam inttest/rt.work rt.work .eunit
debug:
@./bootstrap debug
@ -26,13 +26,13 @@ dialyzer_warnings:
binary: VSN = $(shell ./rebar -V)
binary: clean all
cp rebar ../rebar.wiki/rebar
@cp rebar ../rebar.wiki/rebar
(cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar)
deps:
REBAR_EXTRA_DEPS=1 ./rebar get-deps
cd deps/retest && $(REBAR) compile escriptize
@REBAR_EXTRA_DEPS=1 ./rebar get-deps
@(cd deps/retest && $(REBAR) compile escriptize)
test:
$(REBAR) eunit
$(RETEST) inttest
@$(REBAR) eunit
@$(RETEST) inttest