mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Add eunit_first_files option
This commit is contained in:
parent
3241165ced
commit
e4cd50e2a3
1 changed files with 4 additions and 1 deletions
|
@ -189,7 +189,10 @@ eunit_config(Config) ->
|
|||
EunitOpts = rebar_config:get_list(Config, eunit_compile_opts, []),
|
||||
Opts = [{d, 'TEST'}, debug_info] ++
|
||||
ErlOpts ++ EunitOpts ++ EqcOpts,
|
||||
rebar_config:set(Config, erl_opts, Opts).
|
||||
Config1 = rebar_config:set(Config, erl_opts, Opts),
|
||||
|
||||
FirstErls = rebar_config:get_list(Config1, eunit_first_files, []),
|
||||
rebar_config:set(Config1, erl_first_files, FirstErls).
|
||||
|
||||
is_quickcheck_avail() ->
|
||||
case erlang:get(is_quickcheck_avail) of
|
||||
|
|
Loading…
Reference in a new issue