Merge pull request #725 from processone/elixir-mix
Allow building an ejabberd release with mix and elixir release managerpull/729/head
commit
608661d8c0
|
@ -41,3 +41,4 @@ XmppAddr.hrl
|
|||
/test/*.beam
|
||||
/logs/
|
||||
/priv/sql
|
||||
/rel/ejabberd
|
||||
|
|
|
@ -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/'
|
7
mix.exs
7
mix.exs
|
@ -15,7 +15,9 @@ defmodule Ejabberd.Mixfile do
|
|||
|
||||
def application do
|
||||
[mod: {:ejabberd_app, []},
|
||||
applications: [:kernel, :stdlib]]
|
||||
applications: [:ssl],
|
||||
included_applications: [:p1_logger,:p1_yaml,:p1_tls,:p1_xml,:p1_stringprep,:p1_zlib,:p1_cache_tab,:mnesia,:p1_utils,
|
||||
:p1_iconv,:esip,:p1_stun,:ehyperloglog,:p1_mysql,:p1_pgsql,:eredis]]
|
||||
end
|
||||
|
||||
defp erlc_options do
|
||||
|
@ -39,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
|
||||
|
|
Loading…
Reference in New Issue