You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2019/02/28 14:07:43 UTC

[couchdb-ioq] 01/01: Make PropEr an optional (test) dependency

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch optional-proper
in repository https://gitbox.apache.org/repos/asf/couchdb-ioq.git

commit fb2f63543683cbc4ed5eeb058b0fada3cc2e37b3
Author: Robert Newson <rn...@apache.org>
AuthorDate: Thu Feb 28 14:07:13 2019 +0000

    Make PropEr an optional (test) dependency
---
 rebar.config          | 4 ----
 test/ioq_kv_tests.erl | 2 ++
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/rebar.config b/rebar.config
index b25fdb5..c0b495b 100644
--- a/rebar.config
+++ b/rebar.config
@@ -1,7 +1,3 @@
-{deps, [
-    {proper, ".*", {git, "https://github.com/manopapad/proper.git", "master"}}
-]}.
-
 {eunit_opts, [
     verbose,
     {report, {
diff --git a/test/ioq_kv_tests.erl b/test/ioq_kv_tests.erl
index 3c34573..48ee464 100644
--- a/test/ioq_kv_tests.erl
+++ b/test/ioq_kv_tests.erl
@@ -11,6 +11,7 @@
 % the License.
 
 -module(ioq_kv_tests).
+-ifdef(WITH_PROPER).
 -behaviour(proper_statem).
 
 -include_lib("proper/include/proper.hrl").
@@ -147,3 +148,4 @@ almost_any() ->
         ?LAZY(loose_tuple(almost_any())),
         ?LAZY(list(almost_any()))
     ]).
+-endif.