Debian Codegraph @

src/test/tools/bzlmod/BUILD

raw
1 exports_files(["MODULE.bazel.lock"])
2
3 filegroup(
4 name = "srcs",
5 srcs = glob(["**"]),
6 visibility = ["//src:__subpackages__"],
7 )
8
9 # To avoid accessing BCR in most tests, we generate and checkin a default MODULE.bazel.lock
10 # file in an empty workspace that will be used in integration tests setup.
11 sh_binary(
12 name = "update_default_lock_file",
13 srcs = ["update_default_lock_file.sh"],
14 data = ["//src:bazel"],
15 deps = ["@bazel_tools//tools/bash/runfiles"],
16 )
17
18 sh_test(
19 name = "verify_default_lock_file",
20 srcs = ["verify_default_lock_file.sh"],
21 data = [
22 ":MODULE.bazel.lock",
23 "//src:bazel",
24 "//src/test/shell/bazel:test-deps",
25 ],
26 deps = ["@bazel_tools//tools/bash/runfiles"],
27 )