Created
August 24, 2015 22:43
-
-
Save rnewson/bdb8e84dcd56beb533b1 to your computer and use it in GitHub Desktop.
Adding dreyfus to couchdb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 9563a9e29de08105f99f2f2480ee807f8472bfde | |
Author: Robert Newson <rnewson@apache.org> | |
Date: 2015-08-24 23:34:49 +0100 | |
Add dreyfus to couchdb | |
diff --git a/rebar.config.script b/rebar.config.script | |
index bd8d2b8..f54bf1a 100644 | |
--- a/rebar.config.script | |
+++ b/rebar.config.script | |
@@ -67,10 +67,14 @@ MakeDep = fun | |
{AppName, ".*", {git, Url, Version}, Options} | |
end, | |
+DreyfusDep = [ | |
+ {dreyfus, ".*", {git, "https://github.com/cloudant-labs/dreyfus", {branch, "master"}}} | |
+], | |
+ | |
AddConfig = [ | |
{require_otp_vsn, "R14B01|R14B03|R14B04|R16B03-1|17|18"}, | |
{deps_dir, "src"}, | |
- {deps, lists:map(MakeDep, DepDescs)}, | |
+ {deps, lists:map(MakeDep, DepDescs) ++ DreyfusDep}, | |
{sub_dirs, ["rel"]}, | |
{lib_dirs, ["src/"]}, | |
{erl_opts, [debug_info]}, | |
diff --git a/rel/reltool.config b/rel/reltool.config | |
index a52d037..05bd444 100644 | |
--- a/rel/reltool.config | |
+++ b/rel/reltool.config | |
@@ -58,7 +58,8 @@ | |
oauth, | |
rexi, | |
setup, | |
- snappy | |
+ snappy, | |
+ dreyfus | |
]}, | |
{rel, "start_clean", "", [kernel, stdlib]}, | |
{boot_rel, "couchdb"}, | |
@@ -114,7 +115,8 @@ | |
{app, oauth, [{incl_cond, include}]}, | |
{app, rexi, [{incl_cond, include}]}, | |
{app, setup, [{incl_cond, include}]}, | |
- {app, snappy, [{incl_cond, include}]} | |
+ {app, snappy, [{incl_cond, include}]}, | |
+ {app, dreyfus, [{incl_cond, include}]} | |
]}. | |
{overlay_vars, "couchdb.config"}. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment