tree-sitter-bp/Makefile
Bruno BELANYI d4d88a6f01 Use nvim semantics in tests
To be more explicit: this makes it so the behaviour is "last-defined,
innermost capture wins".
2024-04-09 12:28:28 +01:00

16 lines
281 B
Makefile

.PHONE: all
all:
tree-sitter generate
.PHONE: test
test: all
tree-sitter test --apply-all-captures
.PHONE: update-tests
update-tests: all
tree-sitter test -u --apply-all-captures
playground:
nix shell pkgs#emscripten --command tree-sitter build-wasm
tree-sitter playground