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

63 行
2.8 KiB

  1. %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
  2. %% ex: ts=4 sw=4 ft=erlang et
  3. {deps, [{erlware_commons, "0.15.0"},
  4. {ssl_verify_hostname, "1.0.5"},
  5. {providers, "1.5.0"},
  6. {getopt, "0.8.2"},
  7. {bbmustache, "1.0.4"},
  8. {relx, "3.5.0"}]}.
  9. {escript_name, rebar3}.
  10. {escript_emu_args, "%%! +sbtu +A0\n"}.
  11. %% escript_incl_extra is for internal rebar-private use only.
  12. %% Do not use outside rebar. Config interface is not stable.
  13. {escript_incl_extra, [{"_build/default/lib/relx/priv/templates/*", "."},
  14. {"priv/templates/*", "."},
  15. {"rebar/include/*", "."}]}.
  16. {erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
  17. no_debug_info,
  18. warnings_as_errors]}.
  19. %% Use OTP 18+ when dialyzing rebar3
  20. {dialyzer, [{warnings, [unknown]}]}.
  21. %% Profiles
  22. {profiles, [{test, [
  23. {deps, [{meck, "0.8.2"}]},
  24. {erl_opts, [debug_info]}
  25. ]
  26. },
  27. {bootstrap, []},
  28. {dialyze, [{erl_opts, [debug_info]}]}
  29. ]}.
  30. %% Overrides
  31. {overrides, [{override, erlware_commons, [
  32. {erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
  33. {platform_define, "^R1[4|5]", deprecated_crypto},
  34. no_debug_info,
  35. warnings_as_errors]},
  36. {deps, []}, {plugins, []},
  37. {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}
  38. ]},
  39. {override, bbmustache, [
  40. {erl_opts, [no_debug_info,
  41. {platform_define, "^[0-9]+", namespaced_types}]},
  42. {deps, []}, {plugins, []},
  43. {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}
  44. ]},
  45. {override, getopt, [{erl_opts, [no_debug_info]},
  46. {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}]},
  47. {override, providers, [{erl_opts, [no_debug_info]},
  48. {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}]},
  49. {override, relx, [{erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
  50. {platform_define, "^R1[4|5]", deprecated_crypto},
  51. no_debug_info,
  52. warnings_as_errors]},
  53. {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}
  54. ]}
  55. ]}.