SvelteNova/build_scripts/README.md

736 B

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.