Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct path separator for windows machines #97

Merged
merged 1 commit into from
Feb 2, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Correct path separator for windows machines
Fixes #83
  • Loading branch information
Kwestor committed Feb 2, 2015
commit 2864d13174e9b6a8a04f96b88bae3838b7fb7a72
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