]> granicus.if.org Git - ejabberd/commitdiff
Allow building ejabberd with Elixir mix and building and ejabberd OTP release
authorMickael Remond <mremond@process-one.net>
Wed, 2 Sep 2015 10:49:19 +0000 (12:49 +0200)
committerMickael Remond <mremond@process-one.net>
Wed, 2 Sep 2015 10:49:19 +0000 (12:49 +0200)
config/config.exs [new file with mode: 0644]
mix.exs

diff --git a/config/config.exs b/config/config.exs
new file mode 100644 (file)
index 0000000..8b68e8d
--- /dev/null
@@ -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 57330c04aa12a7ed20cd4eb613d58705b31b4e5b..99e00b0d883c4bb43dabe48e6eff4bef063cb1e9 100644 (file)
--- 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