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/
37
37
tests /locks /
38
38
/test-classes /
39
39
40
- # Used in tests
41
- scala-scala
42
-
43
40
# Ignore output files but keep the directory
44
41
out /
45
42
build /
Original file line number Diff line number Diff line change 2
2
path = scala-backend
3
3
url = https://github.com/lampepfl/scala.git
4
4
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 @@ -901,12 +901,12 @@ object DottyInjectedPlugin extends AutoPlugin {
901
901
}
902
902
903
903
private def projectChecks (): Unit = {
904
- val scalaScala = new File (" scala-scala" )
905
- if (! scalaScala.exists( )) {
904
+ val submodules = List ( new File (" scala-backend " ), new File ( " scala-scala " ) )
905
+ if (! submodules.forall(_.exists )) {
906
906
println(
907
- s """ [WARNING] Missing `dotty/scala-scala` library
908
- |You can clone the library with:
909
- | > git clone -b dotty-library https://github.com/DarkDimius/scala.git ${scalaScala.getAbsolutePath}
907
+ s """ [WARNING] Missing some of the submodules
908
+ |You can initialize the modules with:
909
+ | > git submodule update --init
910
910
""" .stripMargin)
911
911
}
912
912
}
You can’t perform that action at this time.
0 commit comments