SvelteNova/build_scripts
2022-11-03 16:45:19 +00:00
..
build_parser.sh fix: Tree-sitter build scripts. 2022-11-03 15:10:17 +00:00
compile_parser.sh Basic (not working) tree-sitter syntax highlighting. 2022-09-30 01:25:26 +08:00
Makefile Basic (not working) tree-sitter syntax highlighting. 2022-09-30 01:25:26 +08:00
README.md doc: Update to reflect tree-sitter related changes. 2022-11-03 16:45:19 +00:00

build_scripts

Both compile_parser.sh and Makefile are provided by Panic on their doc site, and may be retrieved from here.

Assuming you have Nova.app installed at /Applications/Nova.app, run yarn build:tree-sitter to build libtree-sitter-svelte.dylib. This command is also included in yarn build.

If you installed Nova.app elsewhere, run build_parser.sh (from project root) to build, specifying the path to Nova.app as the first argument:

./build_scripts/build_parser.sh /Applications/Nova.app

It will also copy the build output to correct place and cleanup temp files.