Skip to content

Commit 04e0dd5

Browse files
Add clean to the sbt call
1 parent dbe8589 commit 04e0dd5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

community-build/src/test/scala/dotty/communitybuild/CommunityBuildTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ abstract class BuildTest {
5454
val pluginFilePath = communitybuildDir.resolve("sbt-dotty.sbt").toAbsolutePath().toString()
5555

5656
// Run the sbt command with the compiler version and sbt plugin set in the build
57-
if (!exec("sbt", s"--addPluginSbtFile=$pluginFilePath", s"++$compilerVersion!", command)) {
57+
if (!exec("sbt", s"--addPluginSbtFile=$pluginFilePath", "clean", s"++$compilerVersion!", command)) {
5858
fail(s"""
5959
|
6060
|sbt exited with an error code. To reproduce without JUnit, use:
6161
|
6262
| sbt community-build/prepareCommunityBuild
6363
| cd community-build/community-projects/$project
64-
| sbt --addPluginSbtFile=$pluginFilePath "++$compilerVersion! $command"
64+
| sbt --addPluginSbtFile=$pluginFilePath clean ++$compilerVersion! $command
6565
|
6666
|For a faster feedback loop, one can try to extract a direct call to dotc from sbt:
6767
|

0 commit comments

Comments
 (0)