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.

51 lines
1.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.3.1"}}},
  10. {relx, "",
  11. {git, "https://github.com/tsloughter/relx.git",
  12. {branch, "mustache"}}},
  13. {getopt, "",
  14. {git, "https://github.com/jcomellas/getopt.git",
  15. {branch, "master"}}}]}.
  16. {escript_incl_apps,
  17. [getopt, erlware_commons, relx, providers, rebar]}.
  18. {escript_top_level_app, rebar}.
  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, "R14", no_callback_support},
  28. {platform_define, "^[0-9]+", namespaced_types},
  29. {platform_define, "^R1[4|5]", deprecated_crypto},
  30. debug_info,
  31. warnings_as_errors]}.
  32. {dialyzer_plt_apps, [common_test, dialyzer, eunit, snmp]}.
  33. %% Profiles
  34. {profiles, [{test,
  35. [{deps, [
  36. {meck, "", {git, "https://github.com/eproxus/meck.git", {tag, "0.8.2"}}}
  37. ]}
  38. ]
  39. },
  40. %% We don't want erlydtl to attempt to run on the first compile pass to bootstrap
  41. {bootstrap, []}
  42. ]}.
  43. %% Overrides
  44. {overrides, [{override, erlware_commons, [{deps, []}, {plugins, []}]}]}.