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.

42 line
1.5 KiB

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