Skip to content

Commit e21ab05

Browse files
committed
improvement: Small fixes to allow using Metals with scaladoc with sbt
This would require just setting `bspEnabled := true`, but not for sjsJUnitTests which seem to cause inifinite loop of compilations. I also need to work a bit on Bloop to also make it work. This still needs scalameta/metals#4938
1 parent 04f5a0b commit e21ab05

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

project/Build.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@ object Build {
11301130
enablePlugins(DottyJSPlugin).
11311131
dependsOn(`scala3-library-bootstrappedJS`).
11321132
settings(
1133+
bspEnabled := false,
11331134
scalacOptions --= Seq("-Xfatal-warnings", "-deprecation"),
11341135

11351136
// Required to run Scala.js tests.

project/build.sbt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
// Used by VersionUtil to get gitHash and commitDate
22
libraryDependencies += "org.eclipse.jgit" % "org.eclipse.jgit" % "4.11.0.201803080745-r"
33

4-
5-
Compile / unmanagedSourceDirectories +=
6-
baseDirectory.value / "../language-server/src/dotty/tools/languageserver/config"
74
libraryDependencies += Dependencies.`jackson-databind`

0 commit comments

Comments
 (0)