~wegtam/smederee

Showing details for patch dcb08e1f620047addde1a4b069e78e8f60354787.
2024-10-21 (Mon), 11:33 AM - Jens Grassel - dcb08e1f620047addde1a4b069e78e8f60354787

build: exclude view templates from code coverage

Summary of changes
1 files modified with 1 lines added and 0 lines removed
  • build.sbt with 1 added and 0 removed lines
diff -rN -u old-smederee/build.sbt new-smederee/build.sbt
--- old-smederee/build.sbt	2024-11-22 04:42:44.872769186 +0000
+++ new-smederee/build.sbt	2024-11-22 04:42:44.872769186 +0000
@@ -35,6 +35,7 @@
             // "-Xfatal-warnings", // FIXME: Make this work despite of Twirl!
             "-Ykind-projector"
         ),
+        coverageExcludedPackages := "<empty>;.*\\.views\\.html.*;.*\\.views\\.txt.*;.*\\.views\\.xml.*;",
         resolvers += "jitpack" at "https://jitpack.io", // for JANSI fork
         Compile / console / scalacOptions --= Seq("-Xfatal-warnings"),
         Test / console / scalacOptions --= Seq("-Xfatal-warnings"),