Skip to content

Commit 1b3004f

Browse files
author
Hariharan Ramanathan
committed
Removing scalastyle from test target
1 parent f575618 commit 1b3004f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

build.sbt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,5 @@ lazy val cli = (project in file(".")).
3333
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
3434
buildInfoPackage := "de.upb.cs.swt.delphi.cli"
3535
)
36+
scalastyleConfig := baseDirectory.value / "project" / "scalastyle-config.xml"
3637

37-
lazy val scalastyleTask = taskKey[Unit]("scalastyleTask")
38-
scalastyleTask :={
39-
scalastyle.in(Compile).toTask("").value
40-
scalastyle.in(Test).toTask("").value
41-
}
42-
(scalastyleConfig in Compile):=file("project/scalastyle-config.xml")
43-
(scalastyleConfig in Test):=file("project/scalastyle-config.xml")
44-
(test in Test) := ((test in Test) dependsOn scalastyleTask).value

0 commit comments

Comments
 (0)