您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

60 行
1.8 KiB

10 年前
  1. %% -*- erlang -*-
  2. %% -------------------------------------------------------------------
  3. %%
  4. %% Copyright (c) 2011-2015 Basho Technologies, Inc.
  5. %%
  6. %% This file is provided to you under the Apache License,
  7. %% Version 2.0 (the "License"); you may not use this file
  8. %% except in compliance with the License. You may obtain
  9. %% a copy of the License at
  10. %%
  11. %% http://www.apache.org/licenses/LICENSE-2.0
  12. %%
  13. %% Unless required by applicable law or agreed to in writing,
  14. %% software distributed under the License is distributed on an
  15. %% "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. %% KIND, either express or implied. See the License for the
  17. %% specific language governing permissions and limitations
  18. %% under the License.
  19. %%
  20. %% -------------------------------------------------------------------
  21. {erl_opts, [
  22. {lager_extra_sinks, ['__lager_test_sink']},
  23. {platform_define, "^(19|20|21)", test_statem},
  24. {platform_define, "^18", 'FUNCTION_NAME', unavailable},
  25. {platform_define, "^18", 'FUNCTION_ARITY', 0},
  26. debug_info,
  27. report,
  28. verbose,
  29. warn_deprecated_function,
  30. warn_deprecated_type,
  31. warn_export_all,
  32. warn_export_vars,
  33. warn_obsolete_guard,
  34. warn_untyped_record,
  35. warn_unused_import
  36. % do NOT include warnings_as_errors, as rebar includes these options
  37. % when compiling for eunit, and at least one test module has code that
  38. % is deliberatly broken and will generate an un-maskable warning
  39. ]}.
  40. {erl_first_files, ["src/lager_util.erl"]}.
  41. {eunit_opts, [verbose]}.
  42. {eunit_compile_opts, [
  43. export_all,
  44. nowarn_untyped_record,
  45. nowarn_export_all
  46. ]}.
  47. {deps, [
  48. {goldrush, "0.1.9"}
  49. ]}.
  50. {xref_checks, []}.
  51. {xref_queries, [{"(XC - UC) || (XU - X - B - lager_default_tracer : Mod - erlang:\"(is_map|map_size)\"/1 - maps:to_list/1)", []}]}.
  52. {cover_enabled, true}.
  53. {edoc_opts, [{stylesheet_file, "./priv/edoc.css"}]}.