You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.7 KiB

  1. %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
  2. %% ex: ts=4 sw=4 ft=erlang et
  3. {deps, [
  4. {erlware_commons, "",
  5. {git, "https://github.com/erlware/erlware_commons.git",
  6. {branch, "master"}}},
  7. {providers, "",
  8. {git, "https://github.com/tsloughter/providers.git",
  9. {tag, "v1.4.0"}}},
  10. {relx, "",
  11. {git, "https://github.com/erlware/relx.git",
  12. {branch, "master"}}},
  13. {mustache, ".*",
  14. {git, "https://github.com/soranoba/mustache.git",
  15. {tag, "v0.3.0"}}},
  16. {getopt, "",
  17. {git, "https://github.com/jcomellas/getopt.git",
  18. {branch, "master"}}}]}.
  19. {escript_name, rebar3}.
  20. {escript_emu_args, "%%! +sbtu +A0\n"}.
  21. %% escript_incl_extra is for internal rebar-private use only.
  22. %% Do not use outside rebar. Config interface is not stable.
  23. {escript_incl_extra, [{"_build/default/lib/relx/priv/templates/*", "."},
  24. {"priv/templates/*", "."},
  25. {"rebar/include/*", "."}]}.
  26. {erl_opts,
  27. [{platform_define, "^[0-9]+", namespaced_types},
  28. no_debug_info,
  29. warnings_as_errors]}.
  30. {dialyzer_plt_apps, [common_test, dialyzer, eunit, snmp]}.
  31. %% Profiles
  32. {profiles, [{test,
  33. [{deps, [
  34. {meck, "", {git, "https://github.com/eproxus/meck.git", {tag, "0.8.2"}}}
  35. ]},
  36. {erl_opts, [debug_info]}
  37. ]},
  38. %% We don't want erlydtl to attempt to run on the first compile pass to bootstrap
  39. {bootstrap, []}
  40. ]}.
  41. %% Overrides
  42. {overrides, [{override, erlware_commons, [
  43. {erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
  44. {platform_define, "^R1[4|5]", deprecated_crypto},
  45. no_debug_info,
  46. warnings_as_errors]},
  47. {deps, []}, {plugins, []}
  48. ]},
  49. {override, mustache, [
  50. {erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
  51. no_debug_info]},
  52. {deps, []}, {plugins, []}]},
  53. {override, getopt, [{erl_opts, [no_debug_info]}]},
  54. {override, providers, [{erl_opts, [no_debug_info]}]},
  55. {override, relx, [{erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
  56. {platform_define, "^R1[4|5]", deprecated_crypto},
  57. no_debug_info,
  58. warnings_as_errors]}]}
  59. ]}.