Skip to content

Commit 1057918

Browse files
committed
More renamings
1 parent b210ba2 commit 1057918

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sbt-scales
1+
sbt-scoot
22
========
33

4-
sbt integration to scales
4+
sbt integration for scoot

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

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

99
object ScootSbtPlugin extends Plugin {
1010

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

1313
lazy val Scoot = config("scoot")
1414
lazy val ScootTest = config("scoot-test") extend Scoot
@@ -17,7 +17,7 @@ object ScootSbtPlugin extends Plugin {
1717
inConfig(Scoot)(Defaults.compileSettings) ++
1818
inConfig(ScootTest)(Defaults.testSettings) ++
1919
Seq(
20-
scalesReportDir <<= crossTarget / "coverage-report",
20+
scootReportDir <<= crossTarget / "coverage-report",
2121

2222
ivyConfigurations ++= Seq(Scoot, ScootTest),
2323

@@ -31,8 +31,8 @@ object ScootSbtPlugin extends Plugin {
3131

3232
scalacOptions in Scoot <++= (name in Scoot, baseDirectory in Scoot, update) map {
3333
(n, b, report) =>
34-
val scalesDeps = report matching configurationFilter("scoot")
35-
scalesDeps.find(_.getAbsolutePath.contains("scalac-scoot-plugin")) match {
34+
val scootDeps = report matching configurationFilter("scoot")
35+
scootDeps.find(_.getAbsolutePath.contains("scalac-scoot-plugin")) match {
3636
case None => throw new Exception("Fatal: scalac-scoot-plugin not in libraryDependencies")
3737
case Some(classpath) =>
3838
Seq(
@@ -55,13 +55,13 @@ object ScootSbtPlugin extends Plugin {
5555

5656
internalDependencyClasspath in Scoot <<= (internalDependencyClasspath in Compile),
5757
internalDependencyClasspath in ScootTest <<= (internalDependencyClasspath in Test, internalDependencyClasspath in ScootTest, classDirectory in Compile) map {
58-
(testDeps, scalesDeps, oldClassDir) =>
59-
scalesDeps ++ testDeps.filter(_.data != oldClassDir)
58+
(testDeps, scootDeps, oldClassDir) =>
59+
scootDeps ++ testDeps.filter(_.data != oldClassDir)
6060
},
6161

6262
testOptions in ScootTest <+= testsCleanup,
6363

64-
// make scales config the same as scalesTest config
64+
// make scoot config the same as scootTest config
6565
test in Scoot <<= (test in ScootTest)
6666
)
6767
}
@@ -94,13 +94,13 @@ object ScootSbtPlugin extends Plugin {
9494
targetDirectory.mkdirs()
9595

9696
println("Generating ScootXML report...")
97-
ScalesXmlWriter.write(coverage, targetDirectory)
97+
ScootXmlWriter.write(coverage, targetDirectory)
9898

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

102102
println("Generating ScootHTML report...")
103-
ScalesHtmlWriter.write(coverage, targetDirectory)
103+
ScootXmlWriter.write(coverage, targetDirectory)
104104
}
105105
}
106106
}

0 commit comments

Comments
 (0)