tree-sitter-bp/Makefile
Bruno BELANYI 6bd28f2b6b Add NeoVim test runner
For the queries that can't be tested with `tree-sitter` itself.
2024-04-13 17:07:16 +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