tree-sitter-embedded-template
tree-sitter-embedded-template copied to clipboard
adapt mingw as well
fixes #40
This pull request makes a small update to the build configuration in setup.py to improve platform detection and compatibility when setting compiler flags.
- Platform detection improvement: The condition for applying non-Windows compiler flags now checks for the
"MSYSTEM"environment variable in addition to the system type, ensuring correct flag usage in MSYS environments on Windows. - Imports update: Added an
osimport to support the new environment variable check.
Don't do your own thing. Use tree-sitter init --update.
I am not a treesitter developer I just needed to installa program that requires this dependency but it breaks build.