File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
modules/tasty-lib/src/main/scala/scala/build/tastylib Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -690,9 +690,9 @@ object ci extends Module {
690
690
val standaloneLauncherPath = scalaCliDir / " scala-cli.sh"
691
691
val standaloneWindowsLauncherPath = scalaCliDir / " scala-cli.bat"
692
692
693
- // clean target directory
694
- if (os.exists(targetDir )) os.remove.all(targetDir )
695
- os.makeDir.all(targetDir)
693
+ // clean scala-cli directory
694
+ if (os.exists(scalaCliDir )) os.remove.all(scalaCliDir )
695
+ if ( ! os.exists(targetDir)) os.makeDir.all(targetDir)
696
696
697
697
val branch = " master"
698
698
val repo = s " https://oauth2: ${ghToken()}@github.com/VirtusLab/scala-cli.git "
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ object TastyVersions {
16
16
scalaVersion : String ,
17
17
scalaCliVersion : String
18
18
): Either [String , Boolean ] =
19
- if (! scalaVersion.startsWith(" 3." ) && scalaVersion != " 3" ) Right (false )
19
+ if (! scalaVersion.startsWith(" 3." ) && scalaVersion != " 3" ) Right (false )
20
20
else
21
21
scalaVersion.split('.' )(1 ).toInt match {
22
22
case scalaMinor if scalaMinor > LatestSupportedScala .MinorVersion =>
You can’t perform that action at this time.
0 commit comments