Skip to content

Commit

Permalink
rename CLI to runner
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbrignull committed Aug 25, 2020
1 parent fe75660 commit 09677da
Show file tree
Hide file tree
Showing 23 changed files with 56 additions and 56 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cli.yml → .github/workflows/runner.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeScanning CLI"
name: "CodeQL runner"

on: [push, pull_request]

Expand All @@ -9,15 +9,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Build CLI
- name: Build runner
run: |
cd packaging
cd runner
npm install
npm run build-cli
npm run build-runner
- name: Upload with CLI
- name: Upload with runner
run: |
packaging/dist/code-scanning-cli-linux upload \
runner/dist/codeql-runner-linux upload \
--sarif-file src/testdata/empty-sarif.sarif \
--repository $GITHUB_REPOSITORY \
--commit $GITHUB_SHA \
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/packaging/dist/
/packaging/node_modules/
/runner/dist/
/runner/node_modules/
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ Running locally will generate the CodeQL database and run all the queries, but i

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.

### Building the CLI
### Building the CodeQL runner

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

## Submitting a pull request

Expand Down
1 change: 0 additions & 1 deletion lib/cli.js.map

This file was deleted.

6 changes: 3 additions & 3 deletions lib/fingerprints.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/fingerprints.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/logging.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/logging.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/cli.js → lib/runner.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/runner.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 09677da

Please sign in to comment.