Skip to content

Commit

Permalink
Merge pull request scoverage#97 from Kwestor/fix/windows-path-separator
Browse files Browse the repository at this point in the history
Correct path separator for windows machines
  • Loading branch information
sksamuel committed Feb 2, 2015
2 parents d5c07fa + 2864d13 commit a458cc5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ object ScoverageCompiler {
s.Xprint.value = List("all")
s.Yrangepos.value = true
s.Yposdebug.value = true
s.classpath.value = classPath.mkString(":")
s.classpath.value = classPath.mkString(File.pathSeparator)
s
}

Expand Down Expand Up @@ -66,7 +66,7 @@ class ScoverageCompiler(settings: scala.tools.nsc.Settings, reporter: scala.tool
extends scala.tools.nsc.Global(settings, reporter) {

def addToClassPath(groupId: String, artifactId: String, version: String): Unit = {
settings.classpath.value = settings.classpath.value + ":" + ScoverageCompiler
settings.classpath.value = settings.classpath.value + File.pathSeparator + ScoverageCompiler
.findIvyJar(groupId, artifactId, version)
.getAbsolutePath
}
Expand Down

0 comments on commit a458cc5

Please sign in to comment.