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. %% escript_incl_extra is for internal rebar-private use only.
  4. %% Do not use outside rebar. Config interface is not stable.
  5. {escript_incl_extra, [{"priv/templates/*", "."}]}.
  6. {escript_incl_apps,
  7. [getopt, erlydtl, erlware_commons, relx]}.
  8. {escript_top_level_app, rebar}.
  9. %% Types dict:dict() and digraph:digraph() have been introduced in Erlang 17.
  10. %% At the same time, their counterparts dict() and digraph() are to be
  11. %% deprecated in Erlang 18. namespaced_types option is used to select proper
  12. %% type name depending on the OTP version used.
  13. {erl_opts,
  14. [
  15. {platform_define, "^[0-9]+", namespaced_types}
  16. ]}.
  17. {xref_checks, []}.
  18. {xref_queries,
  19. [{"(XC - UC) || (XU - X - B
  20. - (\"escript\":\"foldl\"/\"3\")
  21. - (\"eunit_test\":\"function_wrapper\"/\"2\")
  22. - (\"abnfc\":\"file\"/\"2\")
  23. - (\"erlydtl\":\"compile\"/\"3\")
  24. - (\"lfe_comp\":\"file\"/\"2\")
  25. - (\"neotoma\":\"file\"/\"2\")
  26. - (\"protobuffs_compile\":\"scan_file\"/\"2\")
  27. - (\"diameter_codegen\":\"from_dict\"/\"4\")
  28. - (\"diameter_dict_util\":\"format_error\"/\"1\")
  29. - (\"diameter_dict_util\":\"parse\"/\"2\"))",
  30. []}]}.
  31. {first_files, [rebar_provider]}.
  32. {deps, [{relx, "",
  33. {git, "https://github.com/erlware/relx.git",
  34. {branch, "master"}}}]}.