19 lines
336 B
Makefile
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
|