Files
codeql/swift/README.md
Paolo Tranquilli a3f6682bbb Swift: remove .codeqlmanifest
The extractor pack entry in there has been moved to the root manifest.
2022-05-23 12:49:08 +02:00

30 lines
666 B
Markdown

## Warning
The Swift codeql package is an experimental and unsupported work in progress.
## Usage
Run
```bash
bazel run //swift:create-extractor-pack
```
which will install `swift/extractor-pack`.
Using `--search-path=swift/extractor-pack` will then pick up the Swift extractor. You can also use
`--search-path=.`, as the extractor pack is mentioned in the root `.codeqlmanifest.json`.
Notice you can run `bazel run :create-extractor-pack` if you already are in the `swift` directory.
## Code generation
Run
```bash
bazel run //swift/codegen
```
to update generated files. This can be shortened to
`bazel run codegen` if you are in the `swift` directory.