mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Move Generated.qll to ast/internal/TreeSitter.qll
This commit is contained in:
@@ -12,13 +12,13 @@ cargo build --release
|
||||
|
||||
## Generating the database schema and QL library
|
||||
|
||||
The generated `ql/src/ruby.dbscheme` and `ql/src/codeql_ruby/Generated.qll` files are included in the repository, but they can be re-generated as follows:
|
||||
The generated `ql/src/ruby.dbscheme` and `ql/src/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
|
||||
# Then auto-format the QL library
|
||||
codeql query format -i ql/src/codeql_ruby/Generated.qll
|
||||
codeql query format -i ql/src/codeql_ruby/ast/internal/TreeSitter.qll
|
||||
```
|
||||
|
||||
## Building a CodeQL database for a Ruby program
|
||||
|
||||
Reference in New Issue
Block a user