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 @@ -996,12 +996,12 @@ object DottyInjectedPlugin extends AutoPlugin {
996
996
}
997
997
998
998
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 )) {
1001
1001
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
1005
1005
""" .stripMargin)
1006
1006
}
1007
1007
}
You can’t perform that action at this time.
0 commit comments