Skip to content

Commit 62a233f

Browse files
authored
unfork scalameta, update Metals (#1700)
1 parent 338218f commit 62a233f

File tree

3 files changed

+9
-22
lines changed

3 files changed

+9
-22
lines changed

core/scalameta.conf

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
// https://github.com/scalacommunitybuild/scalameta.git#community-build-2.13 # was scalameta, v4.8.3
1+
// https://github.com/scalameta/scalameta.git#main
22

3-
// we typically use a tag here rather than track a branch, in the
3+
// we often use a tag here rather than track a branch, in the
44
// interest of stability. whatever tag scalafmt and/or scalafix expect
55

6-
// temporarily forked (July 2023) for 2.13.12 change (scala/scala#10406)
7-
86
vars.proj.scalameta: ${vars.base} {
97
name: "scalameta"
10-
uri: "https://github.com/scalacommunitybuild/scalameta.git#4e53fe054ce99965a5a3d3bb021ffd9feb725346"
8+
uri: "https://github.com/scalameta/scalameta.git#a5528cb7c2344aeed9ed5b815dedb6754819ed61"
119

1210
extra.projects: ["semanticdbScalacPlugin", "testkitJVM"]
1311
extra.commands: ${vars.default-commands} [
1412
// use right version-specific source directories regardless of our weird dbuild Scala version numbers
1513
"""set common.jvm / Compile / unmanagedSourceDirectories += baseDirectory.value / "scalameta" / "common" / "shared" / "src" / "main" / "scala-2.13""""
1614
"""set semanticdbScalacCore / Compile / unmanagedSourceDirectories += baseDirectory.value / "semanticdb" / "scalac" / "library" / "src" / "main" / "scala-2.13""""
17-
"""set semanticdbScalacCore / Compile / unmanagedSourceDirectories += baseDirectory.value / "semanticdb" / "scalac" / "library" / "src" / "main" / "scala-2.13.11""""
15+
"""set semanticdbScalacCore / Compile / unmanagedSourceDirectories += baseDirectory.value / "semanticdb" / "scalac" / "library" / "src" / "main" / "scala-2.13.12""""
1816
]
1917
}

proj/metals.conf

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
vars.proj.metals: ${vars.base} {
77
name: "metals"
8-
uri: "https://github.com/scalameta/metals.git#635956dab809a55c3fb89288fb607248cde26ee8"
8+
uri: "https://github.com/scalameta/metals.git#9cb223954d49e1ab821d7c936c08381f45273a7b"
99

1010
// Vadim from Virtus writes:
1111
//
@@ -19,18 +19,14 @@ vars.proj.metals: ${vars.base} {
1919
// in mind if we start having problems with any of the other subprojects.
2020
// (As always, one option is to compile some tests but not run them.)
2121
extra.exclude: [
22-
"sbt-metals", "input3", "mtags3", "bench", "docs", "slow"
22+
"sbt-metals", "input3", "mtags3", "bench", "docs", "slow", "mtags3WithPresentationCompiler"
2323
// this depends on input3
2424
"unit"
2525
]
26-
// tests disabled until upstream adds 2.13.12 support; see
27-
// https://github.com/scalameta/metals/issues/5438
28-
extra.test-tasks: ["compile"]
2926
extra.commands: ${vars.default-commands} [
30-
// CompletionSuite, HoverDocSuite: https://github.com/scalameta/metals/issues/4585
3127
// CompletionSnippetSuite: not investigated
28+
"""set cross / unmanagedSources / excludeFilter := HiddenFileFilter || "CompletionSnippetSuite.scala""""
3229
// HoverTermSuite: https://github.com/scalameta/metals/issues/5318
33-
"""set cross / unmanagedSources / excludeFilter := HiddenFileFilter || "CompletionSuite.scala" || "HoverDocSuite.scala" || "CompletionSnippetSuite.scala""""
3430
"""set javapc / unmanagedSources / excludeFilter := HiddenFileFilter || "HoverTermSuite.scala""""
3531
]
3632
}

proj/scapegoat.conf

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
// https://github.com/scalacommunitybuild/scapegoat.git#community-build-2.13 # was scapegoat-scala, master
22

3-
// forked (August 2019; refreshed June 2023) because some
3+
// forked (August 2019; refreshed October 2023) because some
44
// classpath-handling code didn't work under dbuild
55

66
vars.proj.scapegoat: ${vars.base} {
77
name: "scapegoat"
8-
uri: "https://github.com/scalacommunitybuild/scapegoat.git#f3f327b07c28dca5cfe3c0c0077664c4b87e1be9"
8+
uri: "https://github.com/scalacommunitybuild/scapegoat.git#dfd4de4c57a7b194e2dd9d50eaeb2aff26bc6f2f"
99

10-
extra.commands: ${vars.default-commands} [
11-
// test started failing on 2.13.12; see my remarks at
12-
// https://github.com/scala/community-build/pull/1677#issuecomment-1614721682
13-
"""set Test / unmanagedSources / excludeFilter := HiddenFileFilter || "UnnecessaryConversionTest.scala""""
14-
// because scala/scala#10439, until maintainers move to 2.13.12
15-
"appendScalacOptions -Xmigration"
16-
]
1710
}

0 commit comments

Comments
 (0)