Skip to content

Commit 993e4a5

Browse files
author
Hariharan Ramanathan
committed
Removing scalastyle from test target
1 parent a6c4030 commit 993e4a5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

build.sbt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ lazy val webapi = (project in file(".")).
3939
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
4040
buildInfoPackage := "de.upb.cs.swt.delphi.webapi"
4141
)
42+
scalastyleConfig := baseDirectory.value / "project" / "scalastyle-config.xml"
43+
4244

43-
lazy val scalastyleTask = taskKey[Unit]("scalastyleTask")
44-
scalastyleTask :={
45-
scalastyle.in(Compile).toTask("").value
46-
scalastyle.in(Test).toTask("").value
47-
}
48-
(scalastyleConfig in Compile):=file("project/scalastyle-config.xml")
49-
(scalastyleConfig in Test):=file("project/scalastyle-config.xml")
50-
(test in Test) := ((test in Test) dependsOn scalastyleTask).value

0 commit comments

Comments
 (0)