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
1 changed files with 2 additions and 0 deletions

View File

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