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
|
- R15B
|
||||||
- R14B04
|
- R14B04
|
||||||
- R14B03
|
- 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
|
REBAR=$(PWD)/rebar
|
||||||
RETEST=$(PWD)/deps/retest/retest
|
RETEST=$(PWD)/deps/retest/retest
|
||||||
|
@ -7,7 +7,7 @@ all:
|
||||||
./bootstrap
|
./bootstrap
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf rebar ebin/*.beam inttest/rt.work
|
@rm -rf rebar ebin/*.beam inttest/rt.work rt.work .eunit
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
@./bootstrap debug
|
@./bootstrap debug
|
||||||
|
@ -26,13 +26,13 @@ dialyzer_warnings:
|
||||||
|
|
||||||
binary: VSN = $(shell ./rebar -V)
|
binary: VSN = $(shell ./rebar -V)
|
||||||
binary: clean all
|
binary: clean all
|
||||||
cp rebar ../rebar.wiki/rebar
|
@cp rebar ../rebar.wiki/rebar
|
||||||
(cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar)
|
(cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar)
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
REBAR_EXTRA_DEPS=1 ./rebar get-deps
|
@REBAR_EXTRA_DEPS=1 ./rebar get-deps
|
||||||
cd deps/retest && $(REBAR) compile escriptize
|
@(cd deps/retest && $(REBAR) compile escriptize)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(REBAR) eunit
|
@$(REBAR) eunit
|
||||||
$(RETEST) inttest
|
@$(RETEST) inttest
|
||||||
|
|
Loading…
Reference in a new issue