tree-sitter-embedded-template icon indicating copy to clipboard operation
tree-sitter-embedded-template copied to clipboard

adapt mingw as well

Open Kreijstal opened this issue 2 months ago • 2 comments

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 os import to support the new environment variable check.

Kreijstal avatar Oct 05 '25 23:10 Kreijstal

Don't do your own thing. Use tree-sitter init --update.

ObserverOfTime avatar Oct 06 '25 09:10 ObserverOfTime

I am not a treesitter developer I just needed to installa program that requires this dependency but it breaks build.

Kreijstal avatar Oct 06 '25 11:10 Kreijstal