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

Closes #1336 #2013

Merged
merged 3 commits into from Jan 6, 2023
Merged

Closes #1336 #2013

merged 3 commits into from Jan 6, 2023

Conversation

ahlinc
Copy link
Contributor

@ahlinc ahlinc commented Jan 6, 2023

Closes #1336

There were added:

  • TREE_SITTER_LIBDIR variable to customize path to generated dynamically loaded libraries.
  • Several flags for tree-sitter generate:
    • --build, -b - to generate a parser and build its dylib with one command.
    • --libdir to have ability to specify a library storage path by arg.

The LIBDIR name was used cause this name is widely used in Unix-like systems for the same purpose.

@ahlinc ahlinc changed the title Close #1336 Closes #1336 Jan 6, 2023
@ahlinc ahlinc merged commit 0d3fd60 into master Jan 6, 2023
@ahlinc ahlinc deleted the close-1336 branch January 6, 2023 09:09
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.

Library storage path cannot be customized in newer versions of tree-sitter-cli
1 participant