tree-sitter-bp/Makefile

16 lines
281 B
Makefile
Raw Normal View History

2024-04-11 19:00:12 +02:00
.PHONY: all
2024-04-07 20:59:34 +02:00
all:
tree-sitter generate
2024-04-11 19:00:12 +02:00
.PHONY: test
2024-04-07 20:59:34 +02:00
test: all
tree-sitter test --apply-all-captures
2024-04-07 20:59:34 +02:00
2024-04-11 19:00:12 +02:00
.PHONY: update-tests
2024-04-07 20:59:34 +02:00
update-tests: all
tree-sitter test -u --apply-all-captures
2024-04-07 20:59:34 +02:00
playground:
nix shell pkgs#emscripten --command tree-sitter build-wasm
tree-sitter playground