Blame erlang-riak_sysmon-0003-Fix-for-rebar2.patch
|
|
9110721 |
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
|
9110721 |
Date: Wed, 2 Dec 2020 17:28:06 +0100
|
|
|
9110721 |
Subject: [PATCH] Fix for rebar2
|
|
|
9110721 |
|
|
|
9110721 |
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|
|
9110721 |
|
|
|
9110721 |
diff --git a/rebar.config b/rebar.config
|
|
|
9110721 |
index 81fa781..46349df 100644
|
|
|
9110721 |
--- a/rebar.config
|
|
|
9110721 |
+++ b/rebar.config
|
|
|
9110721 |
@@ -23,7 +23,6 @@
|
|
|
9110721 |
|
|
|
9110721 |
{erl_opts, [
|
|
|
9110721 |
warn_bif_clash,
|
|
|
9110721 |
- warn_export_all,
|
|
|
9110721 |
warn_export_vars,
|
|
|
9110721 |
warn_obsolete_guard,
|
|
|
9110721 |
warn_unused_import,
|
|
|
9110721 |
diff --git a/test/riak_sysmon_schema_tests.erl b/test/riak_sysmon_schema_tests.erl
|
|
|
9110721 |
index eeca0d4..7d5c462 100644
|
|
|
9110721 |
--- a/test/riak_sysmon_schema_tests.erl
|
|
|
9110721 |
+++ b/test/riak_sysmon_schema_tests.erl
|
|
|
9110721 |
@@ -22,6 +22,7 @@
|
|
|
9110721 |
|
|
|
9110721 |
-include_lib("eunit/include/eunit.hrl").
|
|
|
9110721 |
-compile(export_all).
|
|
|
9110721 |
+-compile(nowarn_export_all).
|
|
|
9110721 |
|
|
|
9110721 |
-define(DEFAULT_PROCESS_LIMIT, 30).
|
|
|
9110721 |
-define(DEFAULT_PORT_LIMIT, 2).
|