Skip to content

Commit ec15ba8

Browse files
committed
Update Readme
1 parent 6d04ef4 commit ec15ba8

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ruby analysis support for CodeQL
1+
# QL analysis support for CodeQL
22

33
Under development.
44

@@ -15,23 +15,19 @@ cargo build --release
1515
The generated `ql/src/ql.dbscheme` and `ql/src/codeql_ql/ast/internal/TreeSitter.qll` files are included in the repository, but they can be re-generated as follows:
1616

1717
```bash
18-
# Run the generator
19-
cargo run --release -p ql-generator
20-
# Then auto-format the QL library
21-
codeql query format -i ql/src/codeql_ql/ast/internal/TreeSitter.qll
18+
./create-extractor-pack.sh
2219
```
2320

24-
## Building a CodeQL database for a Ruby program
21+
## Building a CodeQL database for a QL program
2522

26-
First, get an extractor pack. There are two options:
23+
First, get an extractor pack:
2724

28-
1. Either download the latest `codeql-ruby-pack` from Actions and unzip it twice, or
29-
2. Run `./create-extractor-pack.sh` (Linux/Mac) or `.\create-extractor-pack.ps1` (Windows PowerShell) and the pack will be created in the `extractor-pack` directory.
25+
Run `./create-extractor-pack.sh` (Linux/Mac) or `.\create-extractor-pack.ps1` (Windows PowerShell) and the pack will be created in the `extractor-pack` directory.
3026

3127
Then run
3228

3329
```bash
34-
codeql database create <database-path> -l ruby -s <project-source-path> --search-path <extractor-pack-path>
30+
codeql database create <database-path> -l ql -s <project-source-path> --search-path <extractor-pack-path>
3531
```
3632

3733
## Running qltests

0 commit comments

Comments
 (0)