Allow building ejabberd with Elixir mix and building and ejabberd OTP release

This commit is contained in:
Mickael Remond 2015-09-02 12:49:19 +02:00
parent e179727a0e
commit 4ae7c81cfa
2 changed files with 12 additions and 1 deletions

10
config/config.exs Normal file
View File

@ -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/'

View File

@ -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