add command to open playground

This commit is contained in:
Dmitriy Pleshevskiy 2022-12-07 15:30:45 +03:00
parent 8ab49bb051
commit 0cbd3f0dd6
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
2 changed files with 6 additions and 0 deletions

View File

@ -17,3 +17,9 @@ init:
if [ -z $$(jq '."parser-directories"' $(TS_CONF) | grep $$(dirname $$PWD) ) ]; then \
cat <<< $$(jq ".\"parser-directories\" |= . + [\"$$(dirname $(PWD))\"]" $(TS_CONF)) > $(TS_CONF); \
fi
playground: build-wasm
tree-sitter playground
build-wasm:
tree-sitter build-wasm

BIN
tree-sitter-d2.wasm Executable file

Binary file not shown.