您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

26 行
683 B

  1. % This file is part of Jiffy released under the MIT license.
  2. % See the LICENSE file for more information.
  3. % Only include PropEr as a dependency when the JIFFY_DEV
  4. % environment variable is defined. This allows downstream
  5. % applications to avoid requiring PropEr.
  6. %
  7. % This script is based on the example provided with Rebar.
  8. ErlOpts = {erl_opts, [
  9. {d, 'JIFFY_DEV'}
  10. ]},
  11. Deps = {deps, [
  12. {proper, ".*", {git, "git://github.com/manopapad/proper.git", "master"}}
  13. ]},
  14. ConfigPath = filename:dirname(SCRIPT),
  15. DevMarker = filename:join([ConfigPath, ".jiffy.dev"]),
  16. case filelib:is_file(DevMarker) of
  17. true ->
  18. CONFIG ++ [ErlOpts, Deps];
  19. false ->
  20. CONFIG
  21. end.