Skip to content

Commit 2a58a1e

Browse files
committed
Some renaming. Fixed index.html path
1 parent 0d442a8 commit 2a58a1e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

project/Scoverage.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import sbt._
33

44
object Scoverage extends Build {
55

6-
val Org = "org.coverage"
6+
val Org = "org.scoverage"
77
val Version = "1.0.0.BETA1"
88
val Scala = "2.11.4"
99
val Slf4jVersion = "1.7.7"
@@ -43,7 +43,7 @@ object Scoverage extends Build {
4343
)
4444

4545
lazy val root = Project("scalac-coverage", file("."))
46-
.settings(name := "scalac-coverage")
46+
.settings(name := "scalac-scoverage")
4747
.settings(appSettings: _*)
4848
.settings(publishArtifact := false)
4949
.aggregate(plugin, runtime)
@@ -53,7 +53,7 @@ object Scoverage extends Build {
5353
.settings(appSettings: _*)
5454

5555
lazy val plugin = Project("scalac-coverage-plugin", file("scalac-scoverage-plugin"))
56-
.settings(name := "scalac-coverage-plugin")
56+
.settings(name := "scalac-scoverage-plugin")
5757
.dependsOn(runtime)
5858
.settings(appSettings: _*)
5959
.settings(libraryDependencies ++= Seq(

scalac-scoverage-plugin/src/main/scala/scoverage/report/ScoverageHtmlWriter.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ScoverageHtmlWriter(sourceDirectory: File, outputDir: File) {
1616
val packageFile = new File(outputDir.getAbsolutePath + "/packages.html")
1717
val overviewFile = new File(outputDir.getAbsolutePath + "/overview.html")
1818

19-
FileUtils.copyInputStreamToFile(getClass.getResourceAsStream("/org/scoverage/index.html"), indexFile)
19+
FileUtils.copyInputStreamToFile(getClass.getResourceAsStream("/scoverage/index.html"), indexFile)
2020
FileUtils.write(packageFile, packages(coverage).toString())
2121
FileUtils.write(overviewFile, overview(coverage).toString())
2222

@@ -88,6 +88,7 @@ class ScoverageHtmlWriter(sourceDirectory: File, outputDir: File) {
8888
| position: relative;
8989
| background: #BB2020;
9090
|}
91+
|
9192
|.meter span {
9293
| display: block;
9394
| height: 100%;
@@ -425,7 +426,7 @@ class ScoverageHtmlWriter(sourceDirectory: File, outputDir: File) {
425426
Lines of code:
426427
</td>
427428
<td>
428-
{coverage.loc.toInt.toString}
429+
{coverage.loc.toString}
429430
</td>
430431
<td>
431432
Files:

0 commit comments

Comments
 (0)