add command to open playground
This commit is contained in:
parent
8ab49bb051
commit
0cbd3f0dd6
2 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -17,3 +17,9 @@ init:
|
||||||
if [ -z $$(jq '."parser-directories"' $(TS_CONF) | grep $$(dirname $$PWD) ) ]; then \
|
if [ -z $$(jq '."parser-directories"' $(TS_CONF) | grep $$(dirname $$PWD) ) ]; then \
|
||||||
cat <<< $$(jq ".\"parser-directories\" |= . + [\"$$(dirname $(PWD))\"]" $(TS_CONF)) > $(TS_CONF); \
|
cat <<< $$(jq ".\"parser-directories\" |= . + [\"$$(dirname $(PWD))\"]" $(TS_CONF)) > $(TS_CONF); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
playground: build-wasm
|
||||||
|
tree-sitter playground
|
||||||
|
|
||||||
|
build-wasm:
|
||||||
|
tree-sitter build-wasm
|
||||||
|
|
BIN
tree-sitter-d2.wasm
Executable file
BIN
tree-sitter-d2.wasm
Executable file
Binary file not shown.
Loading…
Reference in a new issue