Packages

Erlang ZeroMQ Driver

Current section

Files

Jump to
erlzmq rebar.config
Raw

rebar.config

{erl_opts, [debug_info, warnings_as_errors]}.
%% Compile nif using port compiler plugin
{plugins, [pc,rebar3_hex]}.
{artifacts, ["priv/erlzmq_nif.so"]}.
{port_env, [{"CFLAGS", "$CFLAGS"}, {"LDFLAGS", "$LDFLAGS -lzmq"}]}.
{port_specs, [{ "priv/erlzmq_nif.so", ["c_src/*.c"] }]}.
{provider_hooks,
[
{pre,
[
{compile, {pc, compile}},
{clean, {pc, clean}}
]
}
]
}.
{eunit_opts, [
verbose
]}.