@@ -8,10 +8,10 @@ import scales.report.{ScalesHtmlWriter, CoberturaXmlWriter, ScalesXmlWriter}
88
99object 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