mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Revert "mix.exs: Dirty workaround to get port_compiler with OTP 27 support"
This reverts commit c7c3cc10c5
.
This commit is contained in:
parent
750bf07e13
commit
677d66d818
12
mix.exs
12
mix.exs
@ -13,9 +13,7 @@ defmodule Ejabberd.MixProject do
|
|||||||
erlc_options: erlc_options(),
|
erlc_options: erlc_options(),
|
||||||
erlc_paths: ["asn1", "src"],
|
erlc_paths: ["asn1", "src"],
|
||||||
# Elixir tests are starting the part of ejabberd they need
|
# Elixir tests are starting the part of ejabberd they need
|
||||||
aliases: [
|
aliases: [test: "test --no-start"],
|
||||||
test: "test --no-start",
|
|
||||||
"deps.get": ["deps.get", "pc_branch"]],
|
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
language: :erlang,
|
language: :erlang,
|
||||||
dialyzer: dialyzer(),
|
dialyzer: dialyzer(),
|
||||||
@ -413,14 +411,6 @@ defmodule Ejabberd.MixProject do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
defmodule Mix.Tasks.PcBranch do
|
|
||||||
use Mix.Task
|
|
||||||
def run(_) do
|
|
||||||
command = "find deps -name rebar.config.script -exec sed -i 's/AppendList..pc/AppendList\(\[{pc, {git, \"https:\\/\\/github.com\\/blt\\/port_compiler.git\", {branch, \"otp-27\"}}}/g' {} ';' "
|
|
||||||
:os.cmd(to_charlist(command))
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
defmodule Mix.Tasks.Compile.Asn1 do
|
defmodule Mix.Tasks.Compile.Asn1 do
|
||||||
use Mix.Task
|
use Mix.Task
|
||||||
alias Mix.Compilers.Erlang
|
alias Mix.Compilers.Erlang
|
||||||
|
Loading…
Reference in New Issue
Block a user