diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-07-23 16:48:15 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-07-23 16:48:15 +0200 |
commit | c0644dc1959320ef9ae9f2206ecfb5d04e188e6e (patch) | |
tree | 0686d3aa076448a92e0df152f4c5c7c704f25721 /src | |
parent | 1fe2b7aac487b0e6fa748339ff869b4b6788308f (diff) |
Finalize app=, skip_app=, suite= deprecations
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_app_utils.erl | 4 | ||||
-rw-r--r-- | src/rebar_ct.erl | 2 | ||||
-rw-r--r-- | src/rebar_eunit.erl | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/src/rebar_app_utils.erl b/src/rebar_app_utils.erl index d21d9cb..c0df97f 100644 --- a/src/rebar_app_utils.erl +++ b/src/rebar_app_utils.erl @@ -180,7 +180,7 @@ is_skipped(ThisApp, TargetApps) -> end. get_apps(Config) -> - rebar_utils:get_deprecated_global(Config, app, apps, "soon"). + rebar_config:get_global(Config, apps, undefined). get_skip_apps(Config) -> - rebar_utils:get_deprecated_global(Config, skip_app, skip_apps, "soon"). + rebar_config:get_global(Config, skip_apps, undefined). diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl index 089d6cf..a875116 100644 --- a/src/rebar_ct.erl +++ b/src/rebar_ct.erl @@ -249,7 +249,7 @@ get_config_file(TestDir) -> end. get_suites(Config, TestDir) -> - case rebar_utils:get_deprecated_global(Config, suite, suites, "soon") of + case rebar_config:get_global(Config, suites, undefined) of undefined -> " -dir " ++ TestDir; Suites -> diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index 96f1e5f..18875ab 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -148,8 +148,7 @@ setup_code_path() -> CodePath. filter_modules(Config, Modules) -> - RawSuites = rebar_utils:get_deprecated_global(Config, suite, suites, - [], "soon"), + RawSuites = rebar_config:get_global(Config, suites, ""), Suites = [list_to_atom(Suite) || Suite <- string:tokens(RawSuites, ",")], filter_modules1(Modules, Suites). |