Files
codeql/swift/README.md
Paolo Tranquilli b66f1b27b0 remove pip install mention from README.md
It is not needed any more since pip requirements were coded in bazel.
2022-05-19 12:47:20 +02:00

667 B

Warning

The Swift codeql package is an experimental and unsupported work in progress.

Usage

Run

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=swift, as the extractor pack is mentioned in swift/.codeqlmanifest.json.

Notice you can run bazel run :create-extractor-pack if you already are in the swift directory.

Code generation

Run

bazel run //swift/codegen

to update generated files. This can be shortened to bazel run codegen if you are in the swift directory.