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 2015/10/01 17:23:24 UTC
[2/3] couchdb commit: updated refs/heads/master to fe4f3d1
Use rel/apps/couch_epi.config for configuring EPI
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/1196e076
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/1196e076
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/1196e076
Branch: refs/heads/master
Commit: 1196e0761767dc3323ed8268018f4b0836a7ada2
Parents: b6094bb
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Authored: Wed Sep 30 09:03:32 2015 -0700
Committer: ILYA Khlopotov <ii...@ca.ibm.com>
Committed: Wed Sep 30 11:56:06 2015 -0700
----------------------------------------------------------------------
rebar.config.script | 8 +++++++-
rel/apps/couch_epi.config | 9 +++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/1196e076/rebar.config.script
----------------------------------------------------------------------
diff --git a/rebar.config.script b/rebar.config.script
index 41dcf13..04fe1e5 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -12,9 +12,15 @@
% Set the path to the configuration environment generated
% by `./configure`.
-ConfigureEnv = filename:join(filename:dirname(SCRIPT), "config.erl"),
+
+COUCHDB_ROOT = filename:dirname(SCRIPT).
+os:putenv("COUCHDB_ROOT", COUCHDB_ROOT).
+
+ConfigureEnv = filename:join(COUCHDB_ROOT, "config.erl").
os:putenv("COUCHDB_CONFIG", ConfigureEnv).
+os:putenv("COUCHDB_APPS_CONFIG_DIR", filename:join([COUCHDB_ROOT, "rel/apps"])).
+
DepDescs = [
%% must be compiled first as it has a custom behavior
{couch_epi, "couch-epi", "33e8bae844e0994f024ee067196161d61872fcfb"},
http://git-wip-us.apache.org/repos/asf/couchdb/blob/1196e076/rel/apps/couch_epi.config
----------------------------------------------------------------------
diff --git a/rel/apps/couch_epi.config b/rel/apps/couch_epi.config
new file mode 100644
index 0000000..79867d2
--- /dev/null
+++ b/rel/apps/couch_epi.config
@@ -0,0 +1,9 @@
+{plugins, [
+ couch_db_epi,
+ chttpd_epi,
+ couch_index_epi,
+ global_changes_epi,
+ mango_epi,
+ mem3_epi,
+ setup_epi
+]}.