aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_app_discovery.erl
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2013-04-13 21:31:30 -0700
committerJordan Wilberding <[email protected]>2013-04-13 21:31:30 -0700
commit699bb108c86785774db005bd0678a7dfa1c3ddd9 (patch)
treee4511928130994efa78e65f47e6f0bd0b71685ce /src/rcl_app_discovery.erl
parentbfc2e2f85c941460c4b59636a7bb2ade806f0fdf (diff)
parent492c954ede0380879fa66dfcc4550fc80584eeed (diff)
downloadrelx-699bb108c86785774db005bd0678a7dfa1c3ddd9.tar.gz
relx-699bb108c86785774db005bd0678a7dfa1c3ddd9.tar.bz2
relx-699bb108c86785774db005bd0678a7dfa1c3ddd9.zip
Merge pull request #54 from tsloughter/master
skip apps support
Diffstat (limited to 'src/rcl_app_discovery.erl')
-rw-r--r--src/rcl_app_discovery.erl4
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",