-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
pony-language-server 0.2.2 (new formula) #259678
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
base: main
Are you sure you want to change the base?
Conversation
|
skip-new-formula as it seems a good companion tool for ponylang. |
252c6a3 to
fdfc77a
Compare
Formula/p/pony-language-server.rb
Outdated
| assert_path_exists bin/"pony-lsp" | ||
| assert_predicate bin/"pony-lsp", :executable? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these checks are not useful
| assert_path_exists bin/"pony-lsp" | |
| assert_predicate bin/"pony-lsp", :executable? |
Formula/p/pony-language-server.rb
Outdated
| pony_source_code = <<~PONY | ||
| actor Main | ||
| new create(env: Env) => | ||
| env.out.print("Hello, world") | ||
| PONY | ||
|
|
||
| Open3.popen3(bin/"pony-lsp") do |stdin, stdout| | ||
| stdin.write "Content-Length: #{pony_source_code.size}\r\n\r\n#{pony_source_code}" | ||
| assert_match(/^Content-Length: \d+/i, stdout.readline) | ||
| end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was expecting some json-rpc interactions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in 12c3ef0.
fdfc77a to
8525af4
Compare
8525af4 to
12c3ef0
Compare
The language server (LSP) for the Pony programming language.
https://github.com/ponylang/pony-language-server
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew test <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it passbrew audit --new <formula>?Given there are formulae for
ponycandcorral, I propose we add the LSP for the Pony language (https://github.com/ponylang), even though the GitHub repository is 'not notable enough'.