mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-27 17:43:27 +00:00
20 lines
331 B
Python
20 lines
331 B
Python
load("//lib:copy_directory.bzl", "copy_directory")
|
|
load("//lib:testing.bzl", "assert_directory_contains")
|
|
|
|
copy_directory(
|
|
name = "a",
|
|
src = "dir_a",
|
|
out = "a",
|
|
)
|
|
|
|
assert_directory_contains(
|
|
name = "check_a",
|
|
directory = ":a",
|
|
expected = [
|
|
"a",
|
|
"a2",
|
|
"b/b",
|
|
"b/b2",
|
|
],
|
|
)
|