codeql/swift
Alex Denisov e85cdf2ec3 Swift: rename certain dbscheme columns 2022-04-22 08:31:09 +02:00
..
codegen Swift: rename certain dbscheme columns 2022-04-22 08:31:09 +02:00
extractor Swift: package test SDK 2022-04-20 12:35:19 +02:00
ql Swift: rename certain dbscheme columns 2022-04-22 08:31:09 +02:00
tools Swift: do not fail pack creation if dir does not exist 2022-04-12 17:05:26 +02:00
.clang-format Swift: first skeleton extractor 2022-04-12 12:40:59 +02:00
.codeqlmanifest.json Bazel: reorganization 2022-04-12 12:40:59 +02:00
.gitignore Bazel: reorganization 2022-04-12 12:40:59 +02:00
BUILD.bazel Swift: package test SDK 2022-04-20 12:35:19 +02:00
README.md Swift: dbscheme generator 2022-04-14 11:27:41 +02:00
codeql-extractor.yml Swift: first skeleton extractor 2022-04-12 12:40:59 +02:00

README.md

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

Make sure to install the pip requirements via

python3 -m pip install -r codegen/requirements.txt

Run

bazel run //swift/codegen

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