add editor settings to rebar.config

This commit is contained in:
Steve Vinoski 2012-10-26 10:25:02 -04:00
parent 86955b0aef
commit 43a5325b4f

View file

@ -1,10 +1,11 @@
%%-*- mode: erlang -*-
%% ex: ft=erlang ts=4 sw=4 et
{port_specs, [{"priv/wterl.so", ["c_src/*.c"]}]}.
{port_env, [
{"DRV_CFLAGS", "$DRV_CFLAGS -Werror -I c_src/system/include"},
{"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/system/lib/libwiredtiger.a"}
]}.
{"DRV_CFLAGS", "$DRV_CFLAGS -Werror -I c_src/system/include"},
{"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/system/lib/libwiredtiger.a"}
]}.
{pre_hooks, [{compile, "c_src/build_deps.sh"}]}.