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
|
2024-04-08 22:15:20 +02:00
|
|
|
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
|
2024-04-08 22:15:20 +02:00
|
|
|
tree-sitter test -u --apply-all-captures
|
2024-04-07 20:59:34 +02:00
|
|
|
|
2024-04-11 19:01:32 +02:00
|
|
|
.PHONY: playground
|
2024-04-07 20:59:34 +02:00
|
|
|
playground:
|
|
|
|
nix shell pkgs#emscripten --command tree-sitter build-wasm
|
|
|
|
tree-sitter playground
|