mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
Previously, we were using 8.0.0rc1. In particular, this upgrade means we need to explicitly import more rules, as they've been moved out of the core bazel repo.
24 lines
636 B
Python
24 lines
636 B
Python
load("@rules_python//python:defs.bzl", "py_binary")
|
|
|
|
py_binary(
|
|
name = "gen-git-assembly-info",
|
|
srcs = ["gen-git-assembly-info.py"],
|
|
deps = ["@rules_python//python/runfiles"],
|
|
)
|
|
|
|
py_binary(
|
|
name = "gen-assembly-info",
|
|
srcs = ["gen-assembly-info.py"],
|
|
visibility = ["//csharp:__subpackages__"],
|
|
deps = ["@rules_python//python/runfiles"],
|
|
)
|
|
|
|
genrule(
|
|
name = "git-assembly-info-src",
|
|
srcs = ["@semmle_code//:git_info"],
|
|
outs = ["GitAssemblyInfo.cs"],
|
|
cmd = "$(execpath :gen-git-assembly-info) $@ $(SRCS)",
|
|
tools = [":gen-git-assembly-info"],
|
|
visibility = ["//csharp:__subpackages__"],
|
|
)
|