Skip to content

Commit aac5eb2

Browse files
Merge pull request #159 from github/rename_cli
Rename CLI to CodeQL runner
2 parents fe75660 + 09677da commit aac5eb2

23 files changed

+56
-56
lines changed

.github/workflows/cli.yml renamed to .github/workflows/runner.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "CodeScanning CLI"
1+
name: "CodeQL runner"
22

33
on: [push, pull_request]
44

@@ -9,15 +9,15 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v2
1111

12-
- name: Build CLI
12+
- name: Build runner
1313
run: |
14-
cd packaging
14+
cd runner
1515
npm install
16-
npm run build-cli
16+
npm run build-runner
1717
18-
- name: Upload with CLI
18+
- name: Upload with runner
1919
run: |
20-
packaging/dist/code-scanning-cli-linux upload \
20+
runner/dist/codeql-runner-linux upload \
2121
--sarif-file src/testdata/empty-sarif.sarif \
2222
--repository $GITHUB_REPOSITORY \
2323
--commit $GITHUB_SHA \

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/packaging/dist/
2-
/packaging/node_modules/
1+
/runner/dist/
2+
/runner/node_modules/

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ Running locally will generate the CodeQL database and run all the queries, but i
4949

5050
As well as the unit tests (see _Common tasks_ above), there are integration tests, defined in `.github/workflows/integration-testing.yml`. These are run by a CI check. Depending on the change you’re making, you may want to add a test to this file or extend an existing one.
5151

52-
### Building the CLI
52+
### Building the CodeQL runner
5353

54-
Navigate to the `packaging` directory and run `npm install` to install dependencies needed only for compiling the CLI. Run `npm run build-cli` to output files to the `packaging/dist` directory.
54+
Navigate to the `runner` directory and run `npm install` to install dependencies needed only for compiling the CodeQL runner. Run `npm run build-runner` to output files to the `runner/dist` directory.
5555

5656
## Submitting a pull request
5757

lib/cli.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/fingerprints.test.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/fingerprints.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/logging.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/logging.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/cli.js renamed to lib/runner.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/runner.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)