undocker/rootfs/BUILD

28 lines
719 B
Python
Raw Normal View History

2021-05-24 00:11:57 +03:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2021-05-24 00:11:57 +03:00
go_library(
2021-05-24 00:11:57 +03:00
name = "go_default_library",
2021-05-24 00:11:58 +03:00
srcs = [
"doc.go",
"rootfs.go",
2021-05-24 00:11:58 +03:00
"tree.go",
2021-05-24 00:11:58 +03:00
],
2021-05-24 00:11:57 +03:00
importpath = "github.com/motiejus/code/undocker/rootfs",
visibility = ["//visibility:public"],
2021-05-24 00:11:58 +03:00
deps = ["@org_uber_go_multierr//:go_default_library"],
2021-05-24 00:11:57 +03:00
)
go_test(
2021-05-24 00:11:57 +03:00
name = "go_default_test",
2021-05-24 00:11:58 +03:00
srcs = [
"rootfs_test.go",
"tree_test.go",
],
2021-05-24 00:11:57 +03:00
embed = [":go_default_library"],
2021-05-24 00:11:57 +03:00
deps = [
2021-05-24 00:11:58 +03:00
"//src/undocker/rootfs/rootfstest:go_default_library",
2021-05-24 00:11:57 +03:00
"@com_github_stretchr_testify//assert:go_default_library",
"@com_github_stretchr_testify//require:go_default_library",
2021-05-24 00:11:57 +03:00
],
2021-05-24 00:11:57 +03:00
)