mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Add correct package version for mix (#577)
This commit is contained in:
parent
e8ffbbb0b4
commit
6cba7bf834
1
.gitignore
vendored
1
.gitignore
vendored
@ -41,3 +41,4 @@ XmppAddr.hrl
|
|||||||
/test/*.beam
|
/test/*.beam
|
||||||
/logs/
|
/logs/
|
||||||
/priv/sql
|
/priv/sql
|
||||||
|
mix.exs
|
||||||
|
@ -235,7 +235,8 @@ esac],[if test "x$lager" = "x"; then lager=true; fi])
|
|||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
vars.config
|
vars.config
|
||||||
src/ejabberd.app.src])
|
src/ejabberd.app.src
|
||||||
|
mix.exs])
|
||||||
|
|
||||||
ENABLEUSER=""
|
ENABLEUSER=""
|
||||||
AC_ARG_ENABLE(user,
|
AC_ARG_ENABLE(user,
|
||||||
|
@ -3,7 +3,7 @@ defmodule Ejabberd.Mixfile do
|
|||||||
|
|
||||||
def project do
|
def project do
|
||||||
[app: :ejabberd,
|
[app: :ejabberd,
|
||||||
version: "15.03.0",
|
version: "@PACKAGE_VERSION@",
|
||||||
elixir: "~> 1.0",
|
elixir: "~> 1.0",
|
||||||
elixirc_paths: ["lib"],
|
elixirc_paths: ["lib"],
|
||||||
compile_path: ".",
|
compile_path: ".",
|
||||||
@ -65,7 +65,7 @@ defmodule Mix.Tasks.Compile.Asn1 do
|
|||||||
options = options ++ [:noobj, outdir: Erlang.to_erl_file(Path.dirname(output))]
|
options = options ++ [:noobj, outdir: Erlang.to_erl_file(Path.dirname(output))]
|
||||||
case :asn1ct.compile(Erlang.to_erl_file(input), options) do
|
case :asn1ct.compile(Erlang.to_erl_file(input), options) do
|
||||||
:ok -> {:ok, :done}
|
:ok -> {:ok, :done}
|
||||||
error -> error
|
error -> error
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user