diff options
author | Tristan Sloughter <[email protected]> | 2013-04-13 20:01:22 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2013-04-13 23:10:03 -0500 |
commit | 492c954ede0380879fa66dfcc4550fc80584eeed (patch) | |
tree | e4511928130994efa78e65f47e6f0bd0b71685ce /src/rcl_app_discovery.erl | |
parent | bfc2e2f85c941460c4b59636a7bb2ade806f0fdf (diff) | |
download | relx-492c954ede0380879fa66dfcc4550fc80584eeed.tar.gz relx-492c954ede0380879fa66dfcc4550fc80584eeed.tar.bz2 relx-492c954ede0380879fa66dfcc4550fc80584eeed.zip |
add skip_apps config option to list discovered apps to skip
Diffstat (limited to 'src/rcl_app_discovery.erl')
-rw-r--r-- | src/rcl_app_discovery.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rcl_app_discovery.erl b/src/rcl_app_discovery.erl index 1f1ecc8..7b04b19 100644 --- a/src/rcl_app_discovery.erl +++ b/src/rcl_app_discovery.erl @@ -66,7 +66,9 @@ resolve_app_metadata(State, LibDirs) -> false end] of [] -> - AppMeta1 = [App || {ok, App} <- setup_overrides(State, AppMeta0)], + SkipApps = rcl_state:skip_apps(State), + AppMeta1 = [App || {ok, App} <- setup_overrides(State, AppMeta0), + not lists:keymember(rcl_app_info:name(App), 1, SkipApps)], rcl_log:debug(rcl_state:log(State), fun() -> ["Resolved the following OTP Applications from the system: \n", |