Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Accelerate application discovery
|
|
Introduce option `enable_shallow_app_discovery` which is disabled by
default.
When enabled searching for `*.app` files is done by using
`filelib:wildcard/1` and doesn't recursively traverse all directories
under `libs_dir` root dirs.
Instead its assumed that each directory on `libs_dir` list contains a
flat list of application dirs or is an app itself.
|
|
`rlx_prv_discover` provider recursively scans all directories in
`lib_dirs` list looking for `*.app` and `*.rel` files.
This commit adds an option `disable_rel_discovery` to skip searching for
`*.rel` files when we know there aren't any. This speeds up release
generation with a lot of dependencies on the `libs_dir` list
significantly and reduces total release generation time in half.
|
|
|
|
|
|
This allow to build riak, because one of riak deps (node_package) have stuff
in priv/ and valid node_package.app, but no one .beam files.
|
|
|
|
|
|
|