mirror of
https://github.com/valitydev/jesse.git
synced 2024-11-06 09:35:23 +00:00
[#90] Clean up tests before each target to avoid failure in Mac OS X
This commit is contained in:
parent
1b5a16cc40
commit
904ae086c3
8
Makefile
8
Makefile
@ -23,6 +23,9 @@ distclean:
|
||||
$(RM) doc/stylesheet.css
|
||||
$(RM) -r logs
|
||||
|
||||
.PHONY: clean-tests
|
||||
clean-tests:
|
||||
@ rm -rf _build/test/lib
|
||||
# Docs
|
||||
|
||||
.PHONY: docs
|
||||
@ -53,10 +56,14 @@ test: eunit ct xref dialyzer cover
|
||||
|
||||
.PHONY: eunit
|
||||
eunit:
|
||||
@ $(MAKE) clean-tests
|
||||
$(REBAR) eunit
|
||||
|
||||
# @ rm -rf _build
|
||||
|
||||
.PHONY: ct
|
||||
ct: test/JSON-Schema-Test-Suite/tests
|
||||
@ $(MAKE) clean-tests
|
||||
$(REBAR) ct
|
||||
|
||||
.PHONY: xref
|
||||
@ -73,4 +80,5 @@ elvis:
|
||||
|
||||
.PHONY: cover
|
||||
cover:
|
||||
@ $(MAKE) clean-tests
|
||||
$(REBAR) cover -v
|
||||
|
Loading…
Reference in New Issue
Block a user