File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ import sbt.Package.ManifestAttributes
12
12
13
13
object DottyBuild extends Build {
14
14
15
+ projectChecks()
16
+
15
17
val scalacVersion = " 2.11.5" // Do not rename, this is grepped in bin/common.
16
18
17
19
val dottyOrganization = " ch.epfl.lamp"
@@ -903,4 +905,18 @@ object DottyInjectedPlugin extends AutoPlugin {
903
905
}
904
906
))
905
907
}
908
+
909
+ private def projectChecks (): Unit = {
910
+ val scalaScala = new File (" scala-scala" )
911
+ if (! scalaScala.exists()) {
912
+ println(
913
+ s """ [WARNING] Missing `dotty/scala-scala` library
914
+ |You can clone the library with:
915
+ | > git clone https://github.com/DarkDimius/scala.git ${scalaScala.getAbsolutePath}
916
+ | > cd ${scalaScala.getAbsolutePath}
917
+ | > git checkout dotty-library
918
+ | > cd ${new File (" " ).getAbsolutePath}
919
+ """ .stripMargin)
920
+ }
921
+ }
906
922
}
You can’t perform that action at this time.
0 commit comments