项目文件夹

文件
2026-07-13 12:32:21 +08:00

14 行
297 B
Python

"""
Global variables
"""
def _load_bindings_impl(ctx):
root = "/".join(ctx.execute(["pwd"]).stdout.split("/")[:-1])
ctx.file("BUILD.bazel", "")
ctx.file("variables.bzl", "INTERNAL_ROOT = \"%s\"\n" % root)
load_bindings = repository_rule(
implementation = _load_bindings_impl,
)