mirror of
https://github.com/laosb/SvelteNova.git
synced 2025-05-01 05:01:11 +00:00
16 lines
539 B
Markdown
16 lines
539 B
Markdown
# `build_scripts`
|
|
|
|
Both `compile_parser.sh` and `Makefile` are provided by Panic
|
|
[on their doc site](https://docs.nova.app/syntax-reference/tree-sitter/#compiling-a-parser),
|
|
and may be retrieved from
|
|
[here](https://docs.nova.app/syntax-reference/build_script.zip).
|
|
|
|
Run `build_parser.sh` (from project root) to build the
|
|
`tree-sitter-svelte.dylib`:
|
|
|
|
```sh
|
|
./build_scripts/build_parser.sh /Applications/Nova.app
|
|
```
|
|
|
|
You may need to adjust the path to `Nova.app`. It will also copy the build
|
|
output to correct place and cleanup temp files.
|