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.

39 lines
1.4 KiB

10 years ago
  1. %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
  2. %% ex: ts=4 sw=4 ft=erlang et
  3. {rebar_packages_url, "http://localhost:8080"}.
  4. %% escript_incl_extra is for internal rebar-private use only.
  5. %% Do not use outside rebar. Config interface is not stable.
  6. {escript_incl_extra, [{"priv/templates/*", "."}, {"rebar/include/*", "."}]}.
  7. {escript_incl_apps,
  8. [inets, getopt, erlydtl, erlware_commons, relx, providers, rebar]}.
  9. {escript_top_level_app, rebar}.
  10. {escript_name, rebar3}.
  11. {erl_opts,
  12. [{platform_define, "^[0-9]+", namespaced_types},
  13. {platform_define, "^R1[4|5]", deprecated_crypto},
  14. debug_info,
  15. warnings_as_errors]}.
  16. %% Types dict:dict() and digraph:digraph() have been introduced in Erlang 17.
  17. %% At the same time, their counterparts dict() and digraph() are to be
  18. %% deprecated in Erlang 18. namespaced_types option is used to select proper
  19. %% type name depending on the OTP version used.
  20. {erl_opts,
  21. [
  22. {platform_define, "^[0-9]+", namespaced_types}
  23. ]}.
  24. {deps, [{providers, "",
  25. {git, "https://github.com/tsloughter/providers.git",
  26. {branch, "format_error"}}},
  27. {relx, "",
  28. {git, "https://github.com/tsloughter/relx.git",
  29. {branch, "format_error2"}}},
  30. {getopt, "", {git, "https://github.com/jcomellas/getopt.git", {branch, "master"}}}]}.
  31. {erlydtl_opts, [{doc_root, "priv/templates"},
  32. {compiler_options, [report, return, debug_info]}]}.