Closed PearceDuan closed 7 years ago
rebar3 does not build ports same way as previous version did.
Add following to jsonx's rebar.config to enable old behaviour via plugin:
{plugins, [pc]}.
{provider_hooks, [{pre, [{compile, {pc, compile}}, {clean, {pc, clean}}]}]}.
https://www.rebar3.org/v3/docs/using-available-plugins#section-port-compiler
When I use rebar3 to compile jsonx,got error like this:
Everything is ok when I compile with rebar... Is there any advice?Thanks