From 4ae7c81cfa044e8a44b3ece13d11818a48c9a3b2 Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Wed, 2 Sep 2015 12:49:19 +0200 Subject: [PATCH] Allow building ejabberd with Elixir mix and building and ejabberd OTP release --- config/config.exs | 10 ++++++++++ mix.exs | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 config/config.exs diff --git a/config/config.exs b/config/config.exs new file mode 100644 index 000000000..8b68e8dbf --- /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 57330c04a..99e00b0d8 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