Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(roc-language-server): Add the Roc Language Server #6738

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions packages/roc-language-server/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: roc-language-server
description: This is a basic language server for Roc.
homepage: https://github.com/roc-lang/roc/tree/main/crates/language_server
licenses: ["UPL-1.0"]
languages: ["Roc"]
categories: ["LSP"]

source:
id: pkg:github/roc-lang/roc@nightly
Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the jar, there will be another dir with a date in the name, I have no clue how to navigate to that dir, I think this is not intended @williamboman correct me here if this would be possible. The date used will change based on the nightly build date.

asset:
- target: linux_arm64
file: roc_{{version}}-linux_arm64-latest.tar.gz
bin: roc_language_server
- target: linux_x64
file: roc_{{version}}-linux_x86_64-latest.tar.gz
bin: roc_language_server
- target: darwin_arm64
file: roc_{{version}}-macos_apple_silicon-latest.tar.gz
bin: roc_language_server
- target: darwin_x64
file: roc_{{version}}-macos_x86_64-latest.tar.gz
bin: roc_language_server

bin:
roc_language_server: "{{source.asset.bin}}"
Loading