Skip to content

Commit 1700a6e

Browse files
authored
Add short doc on build for devs. (#109)
1 parent 7d7081a commit 1700a6e

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,18 @@ It supports several languages:
1616
* Python
1717
* Rust
1818
* Typescript
19+
20+
## How to build it
21+
22+
```console
23+
# Fetch the tree-sitter dependencies
24+
git submodule init
25+
git submodule update --recursive
26+
27+
# Now build with cargo
28+
cargo build
29+
30+
# It should be available through cargo now
31+
cargo run -- -h
32+
cargo run -- --serve --port 8000
33+
```

0 commit comments

Comments
 (0)