mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-08 21:43:07 +02:00
Merge pull request #725 from processone/elixir-mix
Allow building an ejabberd release with mix and elixir release manager
This commit is contained in:
commit
608661d8c0
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -41,3 +41,4 @@ XmppAddr.hrl
|
||||||
/test/*.beam
|
/test/*.beam
|
||||||
/logs/
|
/logs/
|
||||||
/priv/sql
|
/priv/sql
|
||||||
|
/rel/ejabberd
|
||||||
|
|
10
config/config.exs
Normal file
10
config/config.exs
Normal 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/'
|
7
mix.exs
7
mix.exs
|
@ -15,7 +15,9 @@ defmodule Ejabberd.Mixfile do
|
||||||
|
|
||||||
def application do
|
def application do
|
||||||
[mod: {:ejabberd_app, []},
|
[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
|
end
|
||||||
|
|
||||||
defp erlc_options do
|
defp erlc_options do
|
||||||
|
@ -39,7 +41,8 @@ defmodule Ejabberd.Mixfile do
|
||||||
{:ehyperloglog, git: "https://github.com/vaxelfel/eHyperLogLog"},
|
{:ehyperloglog, git: "https://github.com/vaxelfel/eHyperLogLog"},
|
||||||
{:p1_mysql, git: "https://github.com/processone/mysql"},
|
{:p1_mysql, git: "https://github.com/processone/mysql"},
|
||||||
{:p1_pgsql, git: "https://github.com/processone/pgsql"},
|
{: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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user