mirror of
https://github.com/valitydev/msgpack-erlang.git
synced 2024-11-06 00:35:24 +00:00
33 lines
1.0 KiB
Erlang
33 lines
1.0 KiB
Erlang
{require_otp_vsn, "17|18"}.
|
|
|
|
{erl_opts, [fail_on_warning, debug_info, warn_untyped_record]}.
|
|
%%, {parse_transform, eqc_cover}]}.
|
|
|
|
{xref_checks, [undefined_function_calls]}.
|
|
{cover_enabled, true}.
|
|
{cover_print_enabled, false}.
|
|
{edoc_opts, [{dialyzer_specs, all}]}.
|
|
{validate_app_modules, true}.
|
|
|
|
{erl_first_files, [
|
|
"src/msgpack_ext.erl"
|
|
]}.
|
|
|
|
{plugins, [
|
|
{rebar3_eqc, ".*", {git, "https://github.com/kellymclaughlin/rebar3-eqc-plugin.git", {tag, "0.0.8"}}},
|
|
rebar3_hex
|
|
]}.
|
|
|
|
%% {port_sources, ["c_src/*.c"]}.
|
|
%% {port_env, [
|
|
%% %% Make sure to set -fPIC when compiling leveldb
|
|
%% {"CFLAGS", "$CFLAGS -Wall -O3 -fPIC"},
|
|
%% {"CXXFLAGS", "$CXXFLAGS -Wall -O3 -fPIC"},
|
|
%% {"DRV_CFLAGS", "$DRV_CFLAGS -O3 -Wall -I c_src/msgpack-0.5.7/src"},
|
|
%% {"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/msgpack-0.5.7/src/.libs/libmsgpack.a"}
|
|
%% ]}.
|
|
|
|
%% {pre_hooks, [{compile, "sh c_src/build.sh"}]}.
|
|
|
|
%% {post_hooks, [{clean, "rm -rf c_src/msgpack-0.5.7"}]}.
|