Skip to content

Commit 9ec188a

Browse files
committed
Renamed to scoot
1 parent 57dd8ce commit 9ec188a

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Diff for: build.sbt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name := "sbt-scales"
1+
name := "sbt-scoot"
22

3-
organization := "com.sksamuel.scala-scales"
3+
organization := "com.sksamuel.scoot"
44

55
version := "0.90.1"
66

@@ -11,7 +11,7 @@ sbtPlugin := true
1111
resolvers += "Local Maven Repository" at "file://" + Path.userHome.absolutePath + "/.m2/repository"
1212

1313
libraryDependencies ++= Seq(
14-
"com.sksamuel.scala-scales" %% "scalac-scales-plugin" % "0.90.0"
14+
"com.sksamuel.scoot" %% "scalac-scoot-plugin" % "0.90.0"
1515
)
1616

1717
scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "-encoding", "utf8")

Diff for: src/main/scala/org/scalescc/sbt/ScalesSbtPlugin.scala

+9-9
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import scales.report.{ScalesHtmlWriter, CoberturaXmlWriter, ScalesXmlWriter}
88

99
object ScalesSbtPlugin extends Plugin {
1010

11-
val scalesReportDir = SettingKey[File]("scales-report-dir")
11+
val scalesReportDir = SettingKey[File]("scoot-report-dir")
1212

13-
lazy val Scales = config("scales")
14-
lazy val ScalesTest = config("scales-test") extend Scales
13+
lazy val Scales = config("scoot")
14+
lazy val ScalesTest = config("scoot-test") extend Scales
1515

1616
lazy val instrumentSettings = {
1717
inConfig(Scales)(Defaults.compileSettings) ++
@@ -24,16 +24,16 @@ object ScalesSbtPlugin extends Plugin {
2424
resolvers += Resolver.url("local-ivy",
2525
new URL("file://" + Path.userHome.absolutePath + "/.ivy2/local"))(Resolver.ivyStylePatterns),
2626

27-
libraryDependencies += "com.sksamuel.scala-scales" %% "scalac-scales-plugin" % "0.90.0" % Scales.name,
27+
libraryDependencies += "com.sksamuel.scoot" %% "scalac-scoot-plugin" % "0.91.0" % Scales.name,
2828

2929
sources in Scales <<= (sources in Compile),
3030
sourceDirectory in Scales <<= (sourceDirectory in Compile),
3131

3232
scalacOptions in Scales <++= (name in Scales, baseDirectory in Scales, update) map {
3333
(n, b, report) =>
34-
val scalesDeps = report matching configurationFilter("scales")
35-
scalesDeps.find(_.getAbsolutePath.contains("scalac-scales-plugin")) match {
36-
case None => throw new Exception("Fatal: scalac-scales-plugin not in libraryDependencies")
34+
val scalesDeps = report matching configurationFilter("scoot")
35+
scalesDeps.find(_.getAbsolutePath.contains("scalac-scoot-plugin")) match {
36+
case None => throw new Exception("Fatal: scalac-scoot-plugin not in libraryDependencies")
3737
case Some(classpath) =>
3838
Seq(
3939
"-Xplugin:" + classpath.getAbsolutePath,
@@ -93,13 +93,13 @@ object ScalesSbtPlugin extends Plugin {
9393
val targetDirectory = new File("target/coverage-report")
9494
targetDirectory.mkdirs()
9595

96-
println("Generating ScalesXML report...")
96+
println("Generating ScootXML report...")
9797
ScalesXmlWriter.write(coverage, targetDirectory)
9898

9999
println("Generating CoberturaXML report...")
100100
CoberturaXmlWriter.write(coverage, targetDirectory)
101101

102-
println("Generating Scales HTML report...")
102+
println("Generating ScootHTML report...")
103103
ScalesHtmlWriter.write(coverage, targetDirectory)
104104
}
105105
}

0 commit comments

Comments
 (0)