mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Fix merge conflicts during rebase
This commit is contained in:
committed by
Dave Bartolomeo
parent
0afcb9cc86
commit
ac2c315839
@@ -12,13 +12,13 @@ cargo build --release
|
||||
|
||||
## Generating the database schema and QL library
|
||||
|
||||
The generated `ql/lib/ruby.dbscheme` and `ql/lib/codeql_ruby/ast/internal/TreeSitter.qll` files are included in the repository, but they can be re-generated as follows:
|
||||
The generated `ql/lib/ruby.dbscheme` and `ql/lib/codeql/ruby/ast/internal/TreeSitter.qll` files are included in the repository, but they can be re-generated as follows:
|
||||
|
||||
```bash
|
||||
# Run the generator
|
||||
cargo run --release -p ruby-generator -- --dbscheme ql/lib/ruby.dbscheme --library ql/lib/codeql_ruby/ast/internal/TreeSitter.qll
|
||||
cargo run --release -p ruby-generator -- --dbscheme ql/lib/ruby.dbscheme --library ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
|
||||
# Then auto-format the QL library
|
||||
codeql query format -i ql/lib/codeql_ruby/ast/internal/TreeSitter.qll
|
||||
codeql query format -i ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
|
||||
```
|
||||
|
||||
## Building a CodeQL database for a Ruby program
|
||||
|
||||
Reference in New Issue
Block a user