mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Ruby: Unified handling of in-tree extractor packs.
This commit is contained in:
@@ -65,4 +65,4 @@ extractor: $(FILES) $(BIN_FILES)
|
||||
cp extractor/target/release/codeql-extractor-ruby$(EXE) extractor-pack/tools/$(CODEQL_PLATFORM)/extractor$(EXE)
|
||||
|
||||
test: extractor dbscheme
|
||||
codeql test run --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --search-path extractor-pack --consistency-queries ql/consistency-queries ql/test
|
||||
codeql test run --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --consistency-queries ql/consistency-queries ql/test
|
||||
|
||||
@@ -31,7 +31,7 @@ First, get an extractor pack. There are two options:
|
||||
Then run
|
||||
|
||||
```bash
|
||||
codeql database create <database-path> -l ruby -s <project-source-path> --search-path <extractor-pack-path>
|
||||
codeql database create <database-path> -l ruby -s <project-source-path>
|
||||
```
|
||||
|
||||
## Running qltests
|
||||
@@ -39,7 +39,7 @@ codeql database create <database-path> -l ruby -s <project-source-path> --search
|
||||
Run
|
||||
|
||||
```bash
|
||||
codeql test run <test-path> --search-path <extractor-pack-path>
|
||||
codeql test run <test-path>
|
||||
```
|
||||
|
||||
## Writing database upgrade scripts
|
||||
|
||||
Reference in New Issue
Block a user