diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/scala/xyz.driver.sbt/SbtSettings.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/scala/xyz.driver.sbt/SbtSettings.scala b/src/main/scala/xyz.driver.sbt/SbtSettings.scala index 06a8e6c..24564cc 100644 --- a/src/main/scala/xyz.driver.sbt/SbtSettings.scala +++ b/src/main/scala/xyz.driver.sbt/SbtSettings.scala @@ -194,6 +194,8 @@ object SbtSettings extends AutoPlugin { }.taskValue, scalastyleConfig := file("scalastyle-config.xml"), testScalastyle := scalastyle.in(Test).toTask("").value, + (test in Compile) <<= (test in Compile) dependsOn testScalastyle, + (test in Sources) <<= (test in Sources) dependsOn testScalastyle, (test in Test) <<= (test in Test) dependsOn testScalastyle) lazy val wartRemoverSettings = Seq( |