From 691a59669bd7267b6ad55630fffe6968bb62235a Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 2 Jul 2012 13:39:37 +0200 Subject: [PATCH] Add xref to travis run and clean up Makefile --- .travis.yml | 2 +- Makefile | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 26eafdd..09ca611 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,4 @@ otp_release: - R15B - R14B04 - R14B03 -script: "make all deps test" +script: "make debug xref clean all deps test" diff --git a/Makefile b/Makefile index daf5e5e..68f0f52 100644 --- a/Makefile +++ b/Makefile @@ -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