diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-03-21 12:48:02 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2016-03-21 12:48:02 -0400 |
commit | 7a1b59015f4157e5fe9d98c13411ba953a5b1dfc (patch) | |
tree | 6e769d9058769b64ae0a829372ddaed0dcc4040f /src/rebar_prv_compile.erl | |
parent | d2de55d23e4d65bc78c3f065ca83282f0d014091 (diff) |
Extract dist config handling, support {dist, ...}
This commit moves the handling of distribution config and starting out
of rebar_prv_shell and into rebar_dist_utils. The module is able to
handle standard config options and boot a distributed node mode. This
could be used in plugins (once it is exposed) and other providers like
CT.
Configuration is also expanded so that options like:
{dist, [{sname, atom()}, {name, atom()}, {setcookie, term()}]}
can be used and will be handled as a default. The config handler
supports similar terms from the command line being parsed in if the
calling provider supports them.
A test suite is added for configuration handling.
Diffstat (limited to 'src/rebar_prv_compile.erl')
0 files changed, 0 insertions, 0 deletions