summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2015-09-02 12:49:19 +0200
committerMickael Remond <mremond@process-one.net>2015-09-02 12:49:19 +0200
commit4ae7c81cfa044e8a44b3ece13d11818a48c9a3b2 (patch)
tree347e6aa630217ddc9cd09d0247893bca50837203
parentignore ejabberd release result directory (diff)
Allow building ejabberd with Elixir mix and building and ejabberd OTP release
-rw-r--r--config/config.exs10
-rw-r--r--mix.exs3
2 files changed, 12 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
new file mode 100644
index 00000000..8b68e8db
--- /dev/null
+++ b/config/config.exs
@@ -0,0 +1,10 @@
+use Mix.Config
+
+# This is standard path in the context of ejabberd release
+config :ejabberd,
+ file: "running-config/ejabberd.yml",
+ log_path: 'log/ejabberd.log'
+
+# Customize Mnesia directory:
+config :mnesia,
+ dir: 'mnesiadb/'
diff --git a/mix.exs b/mix.exs
index 57330c04..99e00b0d 100644
--- a/mix.exs
+++ b/mix.exs
@@ -41,7 +41,8 @@ defmodule Ejabberd.Mixfile do
{:ehyperloglog, git: "https://github.com/vaxelfel/eHyperLogLog"},
{:p1_mysql, git: "https://github.com/processone/mysql"},
{:p1_pgsql, git: "https://github.com/processone/pgsql"},
- {:eredis, git: "https://github.com/wooga/eredis"}
+ {:eredis, git: "https://github.com/wooga/eredis"},
+ {:exrm, "~> 0.19.2"}
]
end
end