4. How rebar works
Three module chains: app, rel, any
App dir test: ebin/*.app or src/*.app.src
Rel dir test: reltool.config
5. Helper bits
Rebar dependencies
Source-based download/compilation
{deps, [{App, {git, Url, Tag}}]}
Reltool can automagically generate a release +
system from a config file
Rebar wraps reltool and uses convention of reltool.config
6. A bit of philosophy...
Apps should be compiled from source
Ensures correctness for platform/ERTS version
Allows isolation of dependencies
No central repo of applications
Curation not required
Curation not provided, either
7. Simple App
Follows standard conventions
src, ebin, include, priv, c_src
May have deps in rebar.config
Examples:
cowboy, gproc, folsom