This is an automated email from the ASF dual-hosted git repository. jan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 1b21587c16ffab621def35888cf4558defd59b06 Author: Jan Lehnardt <[email protected]> AuthorDate: Fri Mar 9 11:36:33 2018 +0100 feat: allow eunit to run without setup or make all --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index ed8fc63..006ad54 100644 --- a/Makefile +++ b/Makefile @@ -116,6 +116,17 @@ eunit: couch @$(REBAR) setup_eunit 2> /dev/null @$(REBAR) -r eunit $(EUNIT_OPTS) + +setup-eunit: export BUILDDIR = $(shell pwd) +setup-eunit: export ERL_AFLAGS = -config $(shell pwd)/rel/files/eunit.config +setup-eunit: + @$(REBAR) setup_eunit 2> /dev/null + +just-eunit: export BUILDDIR = $(shell pwd) +just-eunit: export ERL_AFLAGS = -config $(shell pwd)/rel/files/eunit.config +just-eunit: + @$(REBAR) -r eunit $(EUNIT_OPTS) + .PHONY: soak-eunit soak-eunit: export BUILDDIR = $(shell pwd) soak-eunit: export ERL_AFLAGS = -config $(shell pwd)/rel/files/eunit.config -- To stop receiving notification emails like this one, please contact [email protected].
