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