Skip to content

Commit 907fbea

Browse files
committed
Ruby: Update build instructions for new extractor
1 parent 01a8516 commit 907fbea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ruby/doc/HOWTO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This document contains information about common development tasks.
77
[Install Rust](https://www.rust-lang.org/tools/install), then run:
88

99
```bash
10-
cargo build --release
10+
(cd extractor && cargo build --release)
1111
```
1212

1313
## Generating the database schema and QL library
@@ -16,7 +16,7 @@ The generated `ql/lib/ruby.dbscheme` and `ql/lib/codeql/ruby/ast/internal/TreeSi
1616

1717
```bash
1818
# Run the generator
19-
cargo run --release -p ruby-generator -- --dbscheme ql/lib/ruby.dbscheme --library ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
19+
(cd extractor && cargo run --release --bin generator -- --dbscheme ../ql/lib/ruby.dbscheme --library ../ql/lib/codeql/ruby/ast/internal/TreeSitter.qll)
2020
# Then auto-format the QL library
2121
codeql query format -i ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
2222
```

0 commit comments

Comments
 (0)