Browse Source

Merge pull request #100 from talentdeficit/first_files_fix

change more instances of mistyped `erl_first_modules` to `erl_first_files`
pull/104/head
Tristan Sloughter 10 years ago
parent
commit
3cd8a5c35f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/rebar_prv_common_test.erl
  2. +1
    -1
      src/rebar_prv_eunit.erl

+ 1
- 1
src/rebar_prv_common_test.erl View File

@ -310,7 +310,7 @@ add_test_dir(Opts, InDirs) ->
first_files(State) ->
BaseFirst = rebar_state:get(State, erl_first_files, []),
CTFirst = rebar_state:get(State, common_test_first_files, []),
rebar_state:set(State, erl_first_modules, BaseFirst ++ CTFirst).
rebar_state:set(State, erl_first_files, BaseFirst ++ CTFirst).
resolve_ct_opts(State, CmdLineOpts, OutDir) ->
CTOpts = rebar_state:get(State, common_test_opts, []),

+ 1
- 1
src/rebar_prv_eunit.erl View File

@ -149,7 +149,7 @@ test_defined([]) -> false.
first_files(State) ->
BaseFirst = rebar_state:get(State, erl_first_files, []),
EUnitFirst = rebar_state:get(State, eunit_first_files, []),
rebar_state:set(State, erl_first_modules, BaseFirst ++ EUnitFirst).
rebar_state:set(State, erl_first_files, BaseFirst ++ EUnitFirst).
resolve_eunit_opts(State, Opts) ->
EUnitOpts = rebar_state:get(State, eunit_opts, []),

Loading…
Cancel
Save