Add Makefile

This commit is contained in:
Bruno BELANYI 2022-11-22 10:26:00 +01:00
parent 6c30591188
commit 617e9adaeb

16
Makefile Normal file
View file

@ -0,0 +1,16 @@
.PHONE: all
all:
tree-sitter generate
.PHONE: test
test: all
tree-sitter test
nvim-test
.PHONE: update-tests
update-tests: all
tree-sitter test -u
playground:
nix shell pkgs#emscripten --command tree-sitter build-wasm
tree-sitter playground