Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

feat: support new 2.13 artifacts #429

Merged
merged 2 commits into from
Mar 10, 2022
Merged

Conversation

tanishiking
Copy link
Member

This PR is the same as scalameta/nvim-metals#346

(As of scalameta/metals#3631 we now have 2.13 artifacts instead of 2.12).

Confirmed we can download publishLocaled metals server 0.11.13-SNAPSHOT with this

  • yarn link in this repo
  • yarn link "metals-languageclient" in metals-vscode
  • Run extension by F5

@@ -16,9 +16,10 @@ export function fetchMetals({
(p) => !p.startsWith("-agentlib")
);

const binaryVersion = serverVersion > "0.11.2" ? "2.13" : "2.12";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comparison seems a bit terrifying, but I guess alphabetical order is sufficient here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, it's not ok for 0.11.2-RC1 or something

Copy link
Member Author

@tanishiking tanishiking Mar 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, metals-languageclient has semver as dependency and we can use that 👍

Copy link
Member

@kpodsiad kpodsiad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome to see some tests!

@kpodsiad kpodsiad merged commit 73ab3ec into scalameta:main Mar 10, 2022
@kpodsiad
Copy link
Member

@tanishiking I've started release - https://github.com/scalameta/metals-languageclient/actions/runs/1962723033

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants