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",
|
2023-01-15 20:17:30 +00:00
|
|
|
srcs = ["main.go"],
|
2023-01-14 23:51:01 +00:00
|
|
|
importpath = "github.com/aspect-build/bazel-lib/tools/copy_directory",
|
|
|
|
visibility = ["//visibility:public"],
|
2023-01-17 05:46:50 +00:00
|
|
|
deps = ["//tools/common"],
|
2023-01-14 23:51:01 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "copy_directory",
|
|
|
|
embed = [":copy_directory_lib"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|