We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 90eb9d2 + 598705e commit 1fe7304Copy full SHA for 1fe7304
project/Build.scala
@@ -12,6 +12,8 @@ import sbt.Package.ManifestAttributes
12
13
object Build {
14
15
+ projectChecks()
16
+
17
val scalacVersion = "2.11.5" // Do not rename, this is grepped in bin/common.
18
19
val dottyOrganization = "ch.epfl.lamp"
@@ -905,4 +907,15 @@ object DottyInjectedPlugin extends AutoPlugin {
905
907
}
906
908
))
909
910
911
+ private def projectChecks(): Unit = {
912
+ val scalaScala = new File("scala-scala")
913
+ if (!scalaScala.exists()) {
914
+ println(
915
+ s"""[WARNING] Missing `dotty/scala-scala` library
916
+ |You can clone the library with:
917
+ | > git clone -b dotty-library https://github.com/DarkDimius/scala.git ${scalaScala.getAbsolutePath}
918
+ """.stripMargin)
919
+ }
920
921
0 commit comments