2024-06-07 16:10:59 +03:00
|
|
|
py_binary(
|
|
|
|
name = "gen-git-assembly-info",
|
|
|
|
srcs = ["gen-git-assembly-info.py"],
|
|
|
|
deps = ["@rules_python//python/runfiles"],
|
|
|
|
)
|
|
|
|
|
2024-05-21 18:28:31 +03:00
|
|
|
py_binary(
|
|
|
|
name = "gen-assembly-info",
|
|
|
|
srcs = ["gen-assembly-info.py"],
|
2024-06-07 16:10:59 +03:00
|
|
|
visibility = ["//csharp:__subpackages__"],
|
2024-05-21 18:28:31 +03:00
|
|
|
deps = ["@rules_python//python/runfiles"],
|
|
|
|
)
|
|
|
|
|
|
|
|
genrule(
|
2024-06-07 16:10:59 +03:00
|
|
|
name = "git-assembly-info-src",
|
2024-05-21 18:28:31 +03:00
|
|
|
srcs = ["@semmle_code//:git_info"],
|
2024-06-07 16:10:59 +03:00
|
|
|
outs = ["GitAssemblyInfo.cs"],
|
|
|
|
cmd = "$(execpath :gen-git-assembly-info) $@ $(SRCS)",
|
|
|
|
tools = [":gen-git-assembly-info"],
|
2024-05-21 18:28:31 +03:00
|
|
|
visibility = ["//csharp:__subpackages__"],
|
|
|
|
)
|