alex-pinkus / tree-sitter-swift

A tree-sitter grammar for the Swift programming language.
MIT License
137 stars 35 forks source link

Wait for tree-sitter from node-gyp #410

Closed alex-pinkus closed 4 months ago

alex-pinkus commented 4 months ago

The tree-sitter executable gets downloaded as a binary during the build, which is notably asynchronous -- this is why scripts/wait-for-tree-sitter.js exists. The code in binding.gyp therefore needs to run that before generating the header files.