From 57798d7dc357528424a36f95c090e86450556885 Mon Sep 17 00:00:00 2001
From: Joseph Dunne <jo@dev.local>
Date: Sun, 25 Oct 2020 18:34:26 +0000
Subject: Add COVER_EXCL_MODS variable

---
 doc/src/guide/coverage.asciidoc | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'doc/src/guide/coverage.asciidoc')

diff --git a/doc/src/guide/coverage.asciidoc b/doc/src/guide/coverage.asciidoc
index 02f8b5b..af159d8 100644
--- a/doc/src/guide/coverage.asciidoc
+++ b/doc/src/guide/coverage.asciidoc
@@ -46,6 +46,17 @@ some applications by defining the `COVER_APPS` variable:
 [source,make]
 COVER_APPS = presence backend
 
+=== Removing modules from the cover report
+
+By default Erlang.mk will include all modules in the
+cover report.
+
+To exclude some modules from the report, you can
+define the `COVER_EXCLUDE_MODS` variable:
+
+[source,make]
+COVER_EXCLUDE_MODS = cowboy_app cowboy_sup
+
 === Configuring paths
 
 By default Erlang.mk will store 'coverdata' files and
-- 
cgit v1.2.3

