rebar.config (1126B)
1 {erl_opts, [debug_info]}. 2 {deps, []}. 3 4 {profiles, [ 5 {test, [{erl_opts, [nowarn_export_all]}, 6 %% create junit xml for circleci 7 {ct_opts, [{ct_hooks, [cth_surefire]}]}, 8 {cover_enabled, true}, 9 {cover_opts, [verbose]}, 10 %% convert to data codecov understands 11 {plugins, [covertool]}, 12 {covertool, [{coverdata_files, ["ct.coverdata"]}]} 13 ]}, 14 {docs, [{edoc_opts, [{preprocess, true}, 15 {doclet, edoc_doclet_chunks}, 16 {layout, edoc_layout_chunks}, 17 {dir, "_build/default/lib/telemetry/doc"}]} 18 ]} 19 ]}. 20 21 {shell, [{apps, [telemetry]}]}. 22 23 %% take out warnings for unused exported functions 24 {xref_checks,[undefined_function_calls, undefined_functions, locals_not_used, 25 deprecated_function_calls, deprecated_functions]}. 26 27 {hex, [ 28 {doc, #{provider => ex_doc}} 29 ]}. 30 31 {ex_doc, [ 32 {source_url, <<"https://github.com/beam-telemetry/telemetry">>}, 33 {extras, [<<"README.md">>, <<"CHANGELOG.md">>, <<"LICENSE">>, <<"NOTICE">>]}, 34 {main, <<"readme">>} 35 ]}.