Closed daxian-dbw closed 11 months ago
Simplify the build for tree-sitter parser. There seems to be no need to run node-gyp configure and node-gyp build.
node-gyp configure
node-gyp build
bindings
src
tree-sitter generate
tree-sitter test
nan
With this change, there will be much less node modules installed to the local node_modules folder, which will make the CIs slightly faster.
node_modules
PR Summary
Simplify the build for tree-sitter parser. There seems to be no need to run
node-gyp configure
andnode-gyp build
.bindings
andsrc
folders are generated bytree-sitter generate
tree-sitter test
will build the generated C file using the node modulenan
, and run tests using node.With this change, there will be much less node modules installed to the local
node_modules
folder, which will make the CIs slightly faster.