msgpack-erlang/rebar.config

26 lines
833 B
Plaintext
Raw Normal View History

2013-02-16 17:16:55 +00:00
{erl_opts, [fail_on_warning, debug_info, warn_untyped_record]}.
{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
{deps, [
{proper, ".*",
2013-07-28 01:45:13 +00:00
{git, "https://github.com/manopapad/proper.git", {tag, "v1.1"}}}
]
}.
2013-02-16 17:16:55 +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-17 19:34:36 +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"}]}.