mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-12-03 11:52:43 +00:00
14 lines
250 B
Python
14 lines
250 B
Python
|
load("@bazel_skylib//rules:build_test.bzl", "build_test")
|
||
|
load(":directory.bzl", "directory")
|
||
|
|
||
|
directory(
|
||
|
name = "dir",
|
||
|
srcs = ["foo.txt"],
|
||
|
visibility = ["//visibility:public"],
|
||
|
)
|
||
|
|
||
|
build_test(
|
||
|
name = "test",
|
||
|
targets = [":dir"],
|
||
|
)
|