summaryrefslogtreecommitdiff
path: root/src/rebar_dist_utils.erl
Commit message (Collapse)AuthorAgeFilesLines
* Type specifications and edocs improvementsFred Hebert2016-11-271-1/+1
| | | | | | Includes improvments and function documentation for all modules (in alphabetical order) up to rebar_core, and may have included more in other modules as I saw fit to dig and understand more of the internals.
* rename dist to dist_nodeFred Hebert2016-04-011-2/+2
|
* Extract dist config handling, support {dist, ...}Fred Hebert2016-03-211-0/+89
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.