Current section
Files
Jump to
Current section
Files
rebar.config
{erl_opts, [debug_info]}.
{port_specs, [
{"priv/ucl_nif.so", ["c_src/*.c"]}
]}.
{hex, [{doc, ex_doc}]}.
{plugins, [rebar3_proper, rebar3_hex, rebar3_ex_doc]}.
{ex_doc, [
{source_url, <<"https://github.com/skunkwerks/ucl">>},
{extras, [<<"README.md">>, <<"LICENSE">>]},
{main, <<"README.md">>}
]}.
{port_env, [
{"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
"CFLAGS", "$CFLAGS -Ic_src/ -I/usr/local/include -g -Wall -Werror"},
{"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
"CXXFLAGS", "$CXXFLAGS -Ic_src/ -I/usr/local/include -g -Wall -Werror"},
{"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
"LDFLAGS", "$LDFLAGS -L/usr/local/lib -lucl"}
]}.
{profiles, [
{test, [
{erl_opts, [nowarn_export_all]},
{deps, [{proper, "1.3.0"}, recon]}
]}
]}.
{proper_opts, [
{numtests, 500000}
]}.
{eunit_opts, [
verbose
]}.
{pre_hooks, [{"", compile, "escript enc compile"}]}.
{post_hooks, [{"", clean, "escript enc clean"}]}.