From 72302d6886f2195849ea55659c0e64f4ab173a28 Mon Sep 17 00:00:00 2001 From: Oron Port Date: Thu, 20 Jul 2023 05:29:38 +0300 Subject: [PATCH 1/2] better rm --- project/scripts/bisect.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/scripts/bisect.scala b/project/scripts/bisect.scala index dbb14f2c4587..35c6c36f745d 100755 --- a/project/scripts/bisect.scala +++ b/project/scripts/bisect.scala @@ -237,7 +237,7 @@ class CommitBisect(validationScript: File, shouldFail: Boolean, bootstrapped: Bo val validationCommandStatusModifier = if shouldFail then "! " else "" // invert the process status if failure was expected val bisectRunScript = raw""" |scalaVersion=$$(sbt "print ${scala3CompilerProject}/version" | tail -n1) - |rm -r out + |rm -rf out |sbt "clean; set every doc := new File(\"unused\"); set scaladoc/Compile/resourceGenerators := (\`${scala3Project}\`/Compile/resourceGenerators).value; ${scala3Project}/publishLocal" |${validationCommandStatusModifier}${validationScript.getAbsolutePath} "$$scalaVersion" """.stripMargin From 4d7d85ab6bc144dfbaaaebfdf1c3092fa5de1dec Mon Sep 17 00:00:00 2001 From: oronpo Date: Fri, 18 Aug 2023 16:44:16 +0300 Subject: [PATCH 2/2] fix releases flag examples --- project/scripts/bisect.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/scripts/bisect.scala b/project/scripts/bisect.scala index 35c6c36f745d..c9b1fc6ef6f0 100755 --- a/project/scripts/bisect.scala +++ b/project/scripts/bisect.scala @@ -35,9 +35,9 @@ val usageMessage = """ |* --releases | Bisect only releases from the given range (defaults to all releases). | The range format is ..., where both and are optional, e.g. - | * 3.1.0-RC1-bin-20210827-427d313-NIGHTLY..3.2.1-RC1-bin-20220716-bb9c8ff-NIGHTLY - | * 3.2.1-RC1-bin-20220620-de3a82c-NIGHTLY.. - | * ..3.3.0-RC1-bin-20221124-e25362d-NIGHTLY + | * 3.1.0-RC1-bin-20210827-427d313-NIGHTLY...3.2.1-RC1-bin-20220716-bb9c8ff-NIGHTLY + | * 3.2.1-RC1-bin-20220620-de3a82c-NIGHTLY... + | * ...3.3.0-RC1-bin-20221124-e25362d-NIGHTLY | The ranges are treated as inclusive. | |* --bootstrapped