Python: Update BUILD.bazel files.

This allows us to (later) build the whole python language pack with
bazel.
This commit is contained in:
Cornelius Riemenschneider
2024-02-12 17:10:35 +01:00
parent 4fcb90298d
commit 27ebebc24b
2 changed files with 31 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
load("@rules_pkg//:mappings.bzl", "pkg_filegroup", "pkg_files")
package(default_visibility = ["//visibility:public"])
alias(
@@ -9,3 +11,20 @@ alias(
name = "dbscheme-stats",
actual = "//python/ql/lib:dbscheme-stats",
)
pkg_files(
name = "dbscheme-group",
srcs = [
":dbscheme",
":dbscheme-stats",
],
strip_prefix = None,
)
pkg_filegroup(
name = "db-files",
srcs = [
":dbscheme-group",
"//python/downgrades",
],
)