Skip to content

Commit 1ca49fa

Browse files
committed
Fix path separator for windows
1 parent 4967876 commit 1ca49fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

project/Build.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -623,13 +623,13 @@ object Build {
623623
val args: List[String] = spaceDelimited("<arg>").parsed.toList
624624
val attList = (dependencyClasspath in Runtime).value
625625
val jars = packageAll.value
626+
val sep = File.pathSeparator
626627

627628
val scalaLib = findLib(attList, "scala-library")
628629
val dottyLib = jars("dotty-library")
629630

630631
def run(args: List[String]): Unit = {
631-
val sep = File.pathSeparator
632-
val fullArgs = insertClasspathInArgs(args, s".$sep$dottyLib$sep$scalaLib")
632+
val fullArgs = insertClasspathInArgs(args, List(".", dottyLib, scalaLib).mkString(sep))
633633
runProcess("java" :: fullArgs, wait = true)
634634
}
635635

@@ -645,7 +645,7 @@ object Build {
645645
val asm = findLib(attList, "scala-asm")
646646
val dottyCompiler = jars("dotty-compiler")
647647
val dottyInterfaces = jars("dotty-interfaces")
648-
run(insertClasspathInArgs(args1, s"$dottyCompiler:$dottyInterfaces:$asm"))
648+
run(insertClasspathInArgs(args1, List(dottyCompiler, dottyInterfaces, asm).mkString(sep)))
649649
} else run(args)
650650
},
651651

@@ -1087,8 +1087,8 @@ object Build {
10871087
Developer(
10881088
id = "liufengyun",
10891089
name = "Liu Fengyun",
1090-
email = "liufengyun@chaos-lab.com",
1091-
url = url("http://chaos-lab.com")
1090+
email = "liu@fengy.me",
1091+
url = url("https://fengy.me")
10921092
),
10931093
Developer(
10941094
id = "nicolasstucki",

0 commit comments

Comments
 (0)