mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Add xref to travis run and clean up Makefile
This commit is contained in:
parent
23f1f8147f
commit
691a59669b
2 changed files with 8 additions and 8 deletions
|
@ -6,4 +6,4 @@ otp_release:
|
|||
- R15B
|
||||
- R14B04
|
||||
- R14B03
|
||||
script: "make all deps test"
|
||||
script: "make debug xref clean all deps test"
|
||||
|
|
14
Makefile
14
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
|
||||
|
|
Loading…
Reference in a new issue