Skip to content

Commit e88362a

Browse files
authored
Warn about instrumenting builds
1 parent 1892341 commit e88362a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,16 @@ or if you have integration tests as well
3737
sbt clean coverage it:test
3838
```
3939

40+
This instruments standard build output so remember to clean again with coverage disabled before publishing your build to avoid including instrumentation.
41+
4042
To enable coverage directly in your build, use:
4143
```scala
4244
coverageEnabled := true
4345
```
4446

47+
Note that this will result in code being always instrumented which is unlikely what you want.
48+
49+
4550
To generate the coverage reports run
4651
```
4752
sbt coverageReport

0 commit comments

Comments
 (0)