diff --git a/project/Build.scala b/project/Build.scala index 0e3f725bb180..2e2b1fc0259d 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -2120,7 +2120,7 @@ object Build { nonBootstrappedSettings( addCommandAlias("run", "scala3-compiler/run"), // Clean everything by default - addCommandAlias("clean", ";scala3/clean;scala3-bootstrapped/clean"), + addCommandAlias("clean", ";scala3/clean;scala3-bootstrapped/clean;scala2-library-bootstrapped/clean;scala2-library-cc/clean"), // `publishLocal` on the non-bootstrapped compiler does not produce a // working distribution (it can't in general, since there's no guarantee // that the non-bootstrapped library is compatible with the