bazel-lib/tools/copy_directory/BUILD.bazel

16 lines
409 B
Python
Raw Permalink Normal View History

2023-01-14 23:51:01 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "copy_directory_lib",
srcs = ["main.go"],
importpath = "github.com/bazel-contrib/bazel-lib/tools/copy_directory",
2023-01-14 23:51:01 +00:00
visibility = ["//visibility:public"],
deps = ["//tools/common"],
2023-01-14 23:51:01 +00:00
)
go_binary(
name = "copy_directory",
embed = [":copy_directory_lib"],
visibility = ["//visibility:public"],
)