We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0a9370 commit 6175b56Copy full SHA for 6175b56
build.sc
@@ -690,9 +690,9 @@ object ci extends Module {
690
val standaloneLauncherPath = scalaCliDir / "scala-cli.sh"
691
val standaloneWindowsLauncherPath = scalaCliDir / "scala-cli.bat"
692
693
- // clean target directory
694
- if (os.exists(targetDir)) os.remove.all(targetDir)
695
- os.makeDir.all(targetDir)
+ // clean scala-cli directory
+ if (os.exists(scalaCliDir)) os.remove.all(scalaCliDir)
+ if (!os.exists(targetDir)) os.makeDir.all(targetDir)
696
697
val branch = "master"
698
val repo = s"https://oauth2:${ghToken()}@github.com/VirtusLab/scala-cli.git"
0 commit comments