25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

18 satır
497 B

  1. % This file is part of Jiffy released under the MIT license.
  2. % See the LICENSE file for more information.
  3. %
  4. % Only run the EQC checks when EQC is present.
  5. HaveEQC = code:which(eqc) =/= non_existing,
  6. ErlOpts = if not HaveEQC -> []; true ->
  7. [{d, 'HAVE_EQC'}]
  8. end,
  9. case lists:keyfind(erl_opts, 1, CONFIG) of
  10. {erl_opts, Opts} ->
  11. NewOpts = {erl_opts, Opts ++ ErlOpts},
  12. lists:keyreplace(erl_opts, 1, CONFIG, NewOpts);
  13. false ->
  14. CONFIG ++ [{erl_opts, ErlOpts}]
  15. end.