build(bindings): move header to tree_sitter subdirectory

This patch allows users to include the parser by the same path from
local build as well as installed location. Previously it was not
possible to include the header prior to installing the built parser.
This commit is contained in:
Scorg 2025-01-11 13:05:31 +05:00 committed by Amaan Qureshi
parent a633a06bb4
commit 40eb26e580
5 changed files with 72 additions and 22 deletions

View file

@ -6,7 +6,7 @@ src/parser.c linguist-generated
src/tree_sitter/* linguist-generated
# C bindings
bindings/c/* linguist-generated
bindings/c/** linguist-generated
CMakeLists.txt linguist-generated
Makefile linguist-generated