mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
21 lines
548 B
Python
21 lines
548 B
Python
load("@rules_python//python:defs.bzl", "py_binary")
|
|
|
|
exports_files(["defs.bzl"])
|
|
|
|
py_binary(
|
|
name = "gen_versionscript",
|
|
srcs = ["gen_versionscript.py"],
|
|
main = "gen_versionscript.py",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
py_binary(
|
|
name = "gen_resources",
|
|
srcs = ["gen_resources.py"],
|
|
target_compatible_with = select({
|
|
"@rules_bzlmodrio_toolchains//constraints/is_systemcore:systemcore": ["@platforms//:incompatible"],
|
|
"//conditions:default": [],
|
|
}),
|
|
visibility = ["//visibility:public"],
|
|
)
|