msgpack-erlang/rebar.config

33 lines
964 B
Plaintext
Raw Normal View History

2015-12-08 04:11:06 +00:00
{require_otp_vsn, "17|18"}.
2013-02-16 17:16:55 +00:00
{erl_opts, [fail_on_warning, debug_info, warn_untyped_record]}.
2014-06-16 13:08:35 +00:00
%%, {parse_transform, eqc_cover}]}.
{xref_checks, [undefined_function_calls]}.
{cover_enabled, true}.
2011-05-04 05:24:43 +00:00
{cover_print_enabled, false}.
2013-02-16 17:16:55 +00:00
{edoc_opts, [{dialyzer_specs, all}]}.
2011-05-06 02:21:49 +00:00
{validate_app_modules, true}.
2013-02-16 17:16:55 +00:00
2013-12-26 02:34:26 +00:00
{erl_first_files, [
"src/msgpack_ext.erl"
]}.
{profiles,
[{test,
[{plugins, [rebar3_eqc]}]
}]}.
2016-03-08 01:23:12 +00:00
%% {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"}
%% ]}.
2013-02-16 17:16:55 +00:00
%% {pre_hooks, [{compile, "sh c_src/build.sh"}]}.
2013-02-16 17:16:55 +00:00
%% {post_hooks, [{clean, "rm -rf c_src/msgpack-0.5.7"}]}.