Repository navigation
ci: publish native parser libraries on version tags - #308
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@CarlOlson, thanks for this PR. If we configured CI to publish a package to npm wouldn't be better? This way you can use it as a dependency in ast-grep. I'm not sure how ast-grep is configured |
Publishing to NPM would be good, but this alone provides value. I think doing both would be best so that scripts, tooling, and other package managers could download directly from GitHub.
customLanguages:
rescript:
libraryPath: ./result/lib/rescript.so
extensions: [res, resi]
expandoChar: _There is a way to utilize grammars via JS, but it looks like it is more than just publishing library files to NPM: https://ast-grep.github.io/guide/api-usage/js-api#use-other-language |
|
Ok, sounds great!! Let’s proceed this way. |
This PR should publish the library files when a version tag is pushed.