mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-27 17:43:27 +00:00
2f65c8c0c7
This repository was donated to the Linux Foundation and is now in the bazel-contrib GH org
16 lines
409 B
Python
16 lines
409 B
Python
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",
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//tools/common"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "copy_directory",
|
|
embed = [":copy_directory_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|