mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Fix regression (thanks Anthony Molinaro)
This commit is contained in:
parent
25c0226ab9
commit
81be474c30
1 changed files with 5 additions and 4 deletions
|
@ -191,11 +191,12 @@ eunit_config(Config) ->
|
||||||
|
|
||||||
|
|
||||||
eqc_opts() ->
|
eqc_opts() ->
|
||||||
define_if('PROPER', is_lib_avail(is_eqc_avail, eqc,
|
define_if('EQC', is_lib_avail(is_eqc_avail, eqc,
|
||||||
"eqc.hrl", "QuickCheck")).
|
"eqc.hrl", "QuickCheck")).
|
||||||
|
|
||||||
proper_opts() ->
|
proper_opts() ->
|
||||||
define_if('EQC', is_lib_avail(is_proper_avail, proper,
|
define_if('PROPER', is_lib_avail(is_proper_avail, proper,
|
||||||
"proper.hrl", "PropEr")).
|
"proper.hrl", "PropEr")).
|
||||||
|
|
||||||
define_if(Def, true) -> [{d, Def}];
|
define_if(Def, true) -> [{d, Def}];
|
||||||
define_if(_Def, false) -> [].
|
define_if(_Def, false) -> [].
|
||||||
|
|
Loading…
Reference in a new issue