mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
18 lines
596 B
Python
18 lines
596 B
Python
py_binary(
|
|
name = "gen-assembly-info",
|
|
srcs = ["gen-assembly-info.py"],
|
|
deps = ["@rules_python//python/runfiles"],
|
|
)
|
|
|
|
# this is an instance of the dbscheme kept in the bazel build tree
|
|
# this allows everything that bazel builds to be up-to-date,
|
|
# independently from whether //go:gen was already run to update the checked in files
|
|
genrule(
|
|
name = "assembly-info-src",
|
|
srcs = ["@semmle_code//:git_info"],
|
|
outs = ["AssemblyInfo.cs"],
|
|
cmd = "$(execpath :gen-assembly-info) $@ $(SRCS)",
|
|
tools = [":gen-assembly-info"],
|
|
visibility = ["//csharp:__subpackages__"],
|
|
)
|