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-22 11:49:18 +02:00
|
|
|
tree-sitter test
|
2024-04-11 20:42:25 +02:00
|
|
|
nvim-test-runner
|
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-22 11:49:18 +02:00
|
|
|
tree-sitter test -u
|
2024-04-11 20:42:25 +02:00
|
|
|
nvim-test-runner
|
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:
|
2024-04-22 11:57:56 +02:00
|
|
|
nix shell pkgs#emscripten --command tree-sitter build --wasm
|
2024-04-07 20:59:34 +02:00
|
|
|
tree-sitter playground
|