couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [couchdb] 01/02: feat: allow eunit to run without setup or make all
Date Fri, 09 Mar 2018 12:47:39 GMT
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 <jan@apache.org>
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
jan@apache.org.

Mime
View raw message