tree-sitter-bp/Makefile
Bruno BELANYI c73eadd348 Add NeoVim test runner
For the queries that can't be tested with `tree-sitter` itself.
2024-04-11 22:09:42 +01:00

19 lines
336 B
Makefile

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