File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed
Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,6 @@ tests/partest-generated/
3737tests /locks /
3838/test-classes /
3939
40- # Used in tests
41- scala-scala
42-
4340# Ignore output files but keep the directory
4441out /
4542build /
Original file line number Diff line number Diff line change 22 path = scala-backend
33 url = https://github.com/lampepfl/scala.git
44 branch = sharing-backend
5+ [submodule "scala-scala "]
6+ path = scala-scala
7+ url = https://github.com/lampepfl/scala.git
8+ branch = dotty-library
Original file line number Diff line number Diff line change @@ -996,12 +996,12 @@ object DottyInjectedPlugin extends AutoPlugin {
996996 }
997997
998998 private def projectChecks (): Unit = {
999- val scalaScala = new File (" scala-scala" )
1000- if (! scalaScala.exists( )) {
999+ val submodules = List ( new File (" scala-backend " ), new File ( " scala-scala " ) )
1000+ if (! submodules.forall(_.exists )) {
10011001 println(
1002- s """ [WARNING] Missing `dotty/scala-scala` library
1003- |You can clone the library with:
1004- | > git clone -b dotty-library https://github.com/DarkDimius/scala.git ${scalaScala.getAbsolutePath}
1002+ s """ [WARNING] Missing some of the submodules
1003+ |You can initialize the modules with:
1004+ | > git submodule update --init
10051005 """ .stripMargin)
10061006 }
10071007 }
You can’t perform that action at this time.
0 commit comments