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!: Replace grainfind with cliFlags setting #113

Merged
merged 2 commits into from
Jun 3, 2022
Merged

Conversation

phated
Copy link
Member

@phated phated commented Jun 2, 2022

Closes #50
Closes #112

This replaces the grainfind.js workaround with an option to specify flags passed to grain lsp. I tested this by changing cliPath to my local pkg executable, which outputs the stdlib into ./target/, and then setting cliFlags to --stdlib /abs/path/to/grain/stdlib and verifying that it output the wasm files into the stdlib inside of grain.

Copy link
Member

@marcusroberts marcusroberts left a comment

Choose a reason for hiding this comment

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

Looks good, and nice to get rid of the fs dependency too!

Copy link
Member

@ospencer ospencer left a comment

Choose a reason for hiding this comment

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

Looks reasonable!

@phated phated merged commit 68c1816 into master Jun 3, 2022
@phated phated deleted the phated/flags-option branch June 3, 2022 17:56
@github-actions github-actions bot mentioned this pull request Jun 3, 2022
@github-actions github-actions bot mentioned this pull request Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accept a string of flags to pass to the grain lsp command Behaves really weird/wrong with custom stdlib
3 participants