25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

69 satır
2.8 KiB

10 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
10 yıl önce
  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_incl_apps,
  20. [getopt, erlware_commons, relx, providers, rebar]}.
  21. {escript_top_level_app, rebar}.
  22. {escript_name, rebar3}.
  23. {escript_emu_args, "%%! +sbtu +A0\n"}.
  24. %% escript_incl_extra is for internal rebar-private use only.
  25. %% Do not use outside rebar. Config interface is not stable.
  26. {escript_incl_extra, [{"_build/default/lib/relx/priv/templates/*", "."},
  27. {"priv/templates/*", "."},
  28. {"rebar/include/*", "."}]}.
  29. {erl_opts,
  30. [{platform_define, "^[0-9]+", namespaced_types},
  31. no_debug_info,
  32. warnings_as_errors]}.
  33. {dialyzer_plt_apps, [common_test, dialyzer, eunit, snmp]}.
  34. %% Profiles
  35. {profiles, [{test,
  36. [{deps, [
  37. {meck, "", {git, "https://github.com/eproxus/meck.git", {tag, "0.8.2"}}}
  38. ]},
  39. {erl_opts, [debug_info]}
  40. ]},
  41. %% We don't want erlydtl to attempt to run on the first compile pass to bootstrap
  42. {bootstrap, []}
  43. ]}.
  44. %% Overrides
  45. {overrides, [{override, erlware_commons, [
  46. {erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
  47. {platform_define, "^R1[4|5]", deprecated_crypto},
  48. no_debug_info,
  49. warnings_as_errors]},
  50. {deps, []}, {plugins, []}
  51. ]},
  52. {override, mustache, [
  53. {erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
  54. no_debug_info]},
  55. {deps, []}, {plugins, []}]},
  56. {override, getopt, [{erl_opts, [no_debug_info]}]},
  57. {override, providers, [{erl_opts, [no_debug_info]}]},
  58. {override, relx, [{erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
  59. {platform_define, "^R1[4|5]", deprecated_crypto},
  60. no_debug_info,
  61. warnings_as_errors]}]}
  62. ]}.