afnanenayet / diffsitter

A tree-sitter based AST difftool to get meaningful semantic diffs
MIT License
1.56k stars 29 forks source link

feat: Specify custom include paths #863

Closed afnanenayet closed 2 months ago

afnanenayet commented 2 months ago

We need to update some of the assumptions in the build script about the structure of the grammar subdirectories. The ocaml tree-sitter repo was updated and the include directory is no longer under src/.

This commit updates the build script so you can optionally specify include directories. If you don't, the include dir is set to the old assumed path.

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.91%. Comparing base (302e9da) to head (363b219).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #863 +/- ## ========================================== + Coverage 58.82% 58.91% +0.08% ========================================== Files 14 14 Lines 1603 1565 -38 ========================================== - Hits 943 922 -21 + Misses 660 643 -17 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.