[erlang-questions] [ANN] reltool app-level lib_dir setting

234 views
Skip to first unread message

Tuncer Ayaz

unread,
Mar 26, 2012, 5:41:36 PM3/26/12
to re...@lists.basho.com, erlang-q...@erlang.org
Thanks to Siri, reltool in R15B01 includes a really useful feature.

Many Erlang projects are using the following structure:
./src/foo.app.src
./src/foo.erl
./rel/reltool.config

When you wanted to reference the application foo in
rel/reltool.config, you previously had three options:
* project-local libs/ or apps/ directory
* unsafe {lib_dirs, "../.."} reltool.config setting
* rebar_reltool_link fake_lib_dir plugin

Starting with R15B01 all you have to do now is specify
{app, foo, [{incl_cond, include}, {lib_dir, ".."}]}
in reltool.config for applications not in lib_dirs.

Although R15B01 is still in development, this feature is complete and
can be used in the otp.git maint branch.
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Reply all
Reply to author
Forward
0 new messages