Skip to content

Commit 71505e3

Browse files
committed
Push more instructions
1 parent 19ad42b commit 71505e3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,13 @@ To install `scip-zig`, simply `git clone` this repository and run `zig build`; y
3232
# Windows: should finish in under 10 seconds in release-fast, under a minute in debug
3333
# WSL: should finish in under 3 seconds in release-fast
3434
scip-zig --root-path /path/to/zig --pkg std /path/to/zig/lib/std/std.zig --root-pkg std
35+
src code-intel upload -github-token=$(cat tok) -file=index.scip
36+
```
37+
38+
For example, let's index this very repo:
39+
40+
```bash
41+
zig-out/bin/scip-zig --root-path $(pwd) --pkg scip-zig $(pwd)/src/main.zig --root-pkg scip-zig
42+
scip convert --from index.scip
43+
src code-intel upload -github-token=$(cat tok) -file=index.scip
3544
```

0 commit comments

Comments
 (0)