Skip to content

Commit 638a886

Browse files
committed
move create-extractor-pack to a scripts folder
1 parent 0391db6 commit 638a886

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

.github/workflows/ql-for-ql-dataset_measure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
ql/target
3737
key: ${{ runner.os }}-qltest-cargo-${{ hashFiles('ql/**/Cargo.lock') }}
3838
- name: Build Extractor
39-
run: cd ql; env "PATH=$PATH:`dirname ${CODEQL}`" ./create-extractor-pack.sh
39+
run: cd ql; env "PATH=$PATH:`dirname ${CODEQL}`" ./scripts/create-extractor-pack.sh
4040
env:
4141
CODEQL: ${{ steps.find-codeql.outputs.codeql-path }}
4242
- name: Checkout ${{ matrix.repo }}

.github/workflows/ql-for-ql-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
cd ql;
3838
codeqlpath=$(dirname ${{ steps.find-codeql.outputs.codeql-path }});
39-
env "PATH=$PATH:$codeqlpath" ./create-extractor-pack.sh
39+
env "PATH=$PATH:$codeqlpath" ./scripts/create-extractor-pack.sh
4040
- name: Run QL tests
4141
run: |
4242
"${CODEQL}" test run --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --search-path "${{ github.workspace }}/ql/extractor-pack" --consistency-queries ql/ql/consistency-queries ql/ql/test

ql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ cargo build --release
2121
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:
2222

2323
```bash
24-
./create-extractor-pack.sh
24+
./scripts/create-extractor-pack.sh
2525
```
2626

2727
## Building a CodeQL database for a QL program
2828

2929
First, get an extractor pack:
3030

31-
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.
31+
Run `./scripts/create-extractor-pack.sh` (Linux/Mac) or `.\scripts\create-extractor-pack.ps1` (Windows PowerShell) and the pack will be created in the `extractor-pack` directory.
3232

3333
Then run
3434

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)