Files
codeql/swift/codegen/BUILD.bazel
Paolo Tranquilli 96897a0cdc Swift: implement python schema
The information that was contained in `schema.yml` is now in
`swift/schema.py`, which allows a more integrated IDE experience
for writing and navigating it.

Another minor change is that `schema.Class` now has a `str` `group`
field instead of a `pathlib.Path` `dir` one.
2022-09-21 15:53:09 +02:00

17 lines
393 B
Python

load("@swift_codegen_deps//:requirements.bzl", "requirement")
py_binary(
name = "codegen",
srcs = ["codegen.py"],
data = [
"//swift:schema",
"//swift:schema_includes",
"//swift/codegen/templates:cpp",
"//swift/codegen/templates:trap",
],
visibility = ["//swift:__subpackages__"],
deps = [
"//swift/codegen/generators",
],
)