Procházet zdrojové kódy

Finalize app=, skip_app=, suite= deprecations

pull/3/head
Tuncer Ayaz před 12 roky
rodič
revize
c0644dc195
3 změnil soubory, kde provedl 4 přidání a 5 odebrání
  1. +2
    -2
      src/rebar_app_utils.erl
  2. +1
    -1
      src/rebar_ct.erl
  3. +1
    -2
      src/rebar_eunit.erl

+ 2
- 2
src/rebar_app_utils.erl Zobrazit soubor

@ -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).

+ 1
- 1
src/rebar_ct.erl Zobrazit soubor

@ -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 ->

+ 1
- 2
src/rebar_eunit.erl Zobrazit soubor

@ -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).

Načítá se…
Zrušit
Uložit