isomarcte / metals-pkgbuild

Scala Language Server (Metals) Package For Pacman Based Systems (e.g. Arch Linux)
0 stars 0 forks source link

Fix Version Mismatch In Version Patch File #22

Closed isomarcte closed 4 years ago

isomarcte commented 4 years ago

The version-fix.patch file did not get updated to 0.9.2 when the rest of the package was. Since metals does some runtime resolution of artifacts, in particular in this case mtags, this caused metals to fail.

This commit corrects the issue. In the future, since upstream doesn't set this value in release, we may want to dynamically generate the patch file (sounds gross, but relying on human memory to do this is unreliable).

This commit also adds a small test-project that is not including in the built package. It will make testing/debugging updates more simple. Also in the future we may want to try to include some integration tests, but I'd need to learn more about the lsp protocol first.

Fixes #21