Move Generated.qll to ast/internal/TreeSitter.qll

This commit is contained in:
Tom Hvitved
2020-12-01 15:28:33 +01:00
parent ba7a42328d
commit a370cd8bdf
23 changed files with 28 additions and 28 deletions

View File

@@ -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