Commit graph

15 commits

Author SHA1 Message Date
ObserverOfTime
5e93499f20 chore(bindings): more small changes
- Rename cmakelists.txt to cmakelists.cmake
- Bump node-addon-api version in package.json
- Remove License classifier from pyproject.toml
- Move require call to top level in Node.js test

(cherry picked from commit d3a127a48f)
2024-11-03 17:17:38 +02:00
ObserverOfTime
89bd9e302e build(bindings): rename cmake test target
CTest creates a test target which breaks the build when the parser is
included via FetchContent in a CMake project that uses CTest

(cherry picked from commit 02ff0af69c)
2024-11-02 14:14:41 -04:00
Carlo Cabrera
76fffb0f2d build(make): fix tree-sitter.pc generation (#3745)
(cherry picked from commit 079c69313f)
2024-10-05 20:16:31 -04:00
ObserverOfTime
b3f808cc01 chore(templates): update npm packages
(cherry picked from commit 95f24e0364)
2024-10-05 20:16:20 -04:00
ObserverOfTime
0d8f143a9d build(bindings): improve cmake file
- Use placeholders for version, description, homepage
- Add option for `TREE_SITTER_REUSE_ALLOCATOR`
- Define `TREE_SITTER_DEBUG` in debug mode

(cherry picked from commit a397b454a3)
2024-10-05 20:15:19 -04:00
Amaan Qureshi
2047b22ae5
fix(generate): move generated header files into the generate crate 2024-10-04 00:47:30 -04:00
Sergio A. Vargas
e4dec3d3d8
fix(generate): add *.scm section to .editorconfig template 2024-10-03 16:41:47 -04:00
ObserverOfTime
608506cb57 fix(init): fix some schema issues
- Validate CamelCase name, TextMate scope
- Skip serialization of unused properties
- Disallow additional properties in schema
2024-10-01 11:37:57 -04:00
ObserverOfTime
939e61c58d build(bindings): add CMakeLists.txt file 2024-09-30 14:43:55 -04:00
Amaan Qureshi
03313dbbf0 fix(bindings): lower go version to 1.22 2024-09-30 14:00:25 -04:00
Amaan Qureshi
f2e1aa3d72 fix(bindings): use RUST_BINDING_VERSION in Cargo.toml template 2024-09-30 14:00:25 -04:00
Amaan Qureshi
2e3504a422
fix(cli): generate the parser version from the config as well 2024-09-30 13:23:43 -04:00
Amaan Qureshi
ea3846a2c5
feat: move tree-sitter configuration to dedicated file (#3700) 2024-09-30 11:11:23 -04:00
Amaan Qureshi
871e8966c5 build: bump deps 2024-09-28 13:58:58 -04:00
Amaan Qureshi
b2359e4020 feat!: move generation of grammar files to an init command
The generate subcommand should stick to solely generating a parser and
headers.
2024-09-27 16:06:57 -04:00