25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

rebar.config.script: Use port_compiler branch that supports OTP 27.0-rc2

If we provide this plugin in ejabberd, then dependencies will not download
the old pc 1.14.0 which doesn't support OTP 27.0-rc2, and will use this one.
This commit is contained in:
Badlop 2024-04-29 17:46:35 +02:00
parent f15d5d073e
commit e9b9159d23

View File

@ -417,6 +417,8 @@ GithubConfig = case {os:getenv("GITHUB_ACTIONS"), os:getenv("GITHUB_TOKEN")} of
end, end,
Rules = [ Rules = [
{[plugins], IsRebar3,
AppendList([{pc, ".*", {git, "https://github.com/blt/port_compiler.git", {branch, "otp-27"}}}]), []},
{[provider_hooks], IsRebar3, {[provider_hooks], IsRebar3,
AppendList([{pre, [ AppendList([{pre, [
{compile, {asn, compile}}, {compile, {asn, compile}},