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.

54 line
1.7 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. debug_info,
  24. report,
  25. verbose,
  26. warn_deprecated_function,
  27. warn_deprecated_type,
  28. warn_export_all,
  29. warn_export_vars,
  30. warn_obsolete_guard,
  31. warn_untyped_record,
  32. warn_unused_import
  33. % do NOT include warnings_as_errors, as rebar includes these options
  34. % when compiling for eunit, and at least one test module has code that
  35. % is deliberatly broken and will generate an un-maskable warning
  36. ]}.
  37. {erl_first_files, ["src/lager_util.erl"]}.
  38. {eunit_opts, [verbose]}.
  39. {eunit_compile_opts, [
  40. nowarn_untyped_record,
  41. nowarn_export_all
  42. ]}.
  43. {deps, [
  44. {goldrush, ".*", {git, "git://github.com/DeadZen/goldrush.git", {tag, "0.1.8"}}}
  45. ]}.
  46. {xref_checks, []}.
  47. {xref_queries, [{"(XC - UC) || (XU - X - B - lager_default_tracer : Mod - erlang:\"(is_map|map_size)\"/1 - maps:to_list/1)", []}]}.
  48. {cover_enabled, true}.
  49. {edoc_opts, [{stylesheet_file, "./priv/edoc.css"}]}.