diff --git a/rebar.config b/rebar.config index df0f1c2..bb8d3c0 100644 --- a/rebar.config +++ b/rebar.config @@ -1,3 +1,17 @@ +%% port compiler plugin for rebar3 +{plugins, [pc]}. + +{provider_hooks, + [ + {pre, + [ + {compile, {pc, compile}}, + {clean, {pc, clean}} + ] + } + ] +}. + {port_specs, [{"priv/ebloom_nifs.so", ["c_src/*.cpp"]}]}. {port_env, [ %% Make sure to link -lstdc++