2023-01-02 00:14:48 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "copy_to_directory_lib",
|
2023-01-15 20:17:30 +00:00
|
|
|
srcs = ["main.go"],
|
2024-09-18 00:05:35 +00:00
|
|
|
importpath = "github.com/bazel-contrib/bazel-lib/tools/copy_to_directory",
|
2023-01-02 00:14:48 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2023-01-03 17:42:20 +00:00
|
|
|
deps = [
|
2023-01-15 20:17:30 +00:00
|
|
|
"//tools/common",
|
2023-01-05 22:24:24 +00:00
|
|
|
"@com_github_bmatcuk_doublestar_v4//:doublestar",
|
2023-01-03 17:42:20 +00:00
|
|
|
"@org_golang_x_exp//maps",
|
|
|
|
],
|
2023-01-02 00:14:48 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "copy_to_directory",
|
|
|
|
embed = [":copy_to_directory_lib"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|