tree-sitter-bp/Makefile

19 lines
294 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
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
tree-sitter test -u
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:
nix shell pkgs#emscripten --command tree-sitter build-wasm
tree-sitter playground