Skip to content

Commit b1f9f19

Browse files
committed
Merge branch 'feature/issue-345-bazel-build-go' of https://github.com/njlr/container-structure-test into feature/issue-345-bazel-build-go
2 parents 68ed6f5 + 014d655 commit b1f9f19

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

cmd/container-structure-test/app/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ go_library(
44
name = "app",
55
srcs = ["container-structure-test.go"],
66
importpath = "github.com/GoogleContainerTools/container-structure-test/cmd/container-structure-test/app",
7-
visibility = ["//visibility:public"],
7+
visibility = ["//cmd/container-structure-test:__pkg__"],
88
deps = ["//cmd/container-structure-test/app/cmd"],
99
)

cmd/container-structure-test/app/cmd/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ go_library(
88
"version.go",
99
],
1010
importpath = "github.com/GoogleContainerTools/container-structure-test/cmd/container-structure-test/app/cmd",
11-
visibility = ["//visibility:public"],
11+
visibility = ["//cmd/container-structure-test/app:__pkg__"],
1212
deps = [
1313
"//cmd/container-structure-test/app/cmd/test",
1414
"//cmd/container-structure-test/app/flags",

cmd/container-structure-test/app/cmd/test/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go_library(
44
name = "test",
55
srcs = ["util.go"],
66
importpath = "github.com/GoogleContainerTools/container-structure-test/cmd/container-structure-test/app/cmd/test",
7-
visibility = ["//visibility:public"],
7+
visibility = ["//cmd/container-structure-test/app/cmd:__pkg__"],
88
deps = [
99
"//pkg/config",
1010
"//pkg/drivers",

cmd/container-structure-test/app/flags/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ go_library(
44
name = "flags",
55
srcs = ["template.go"],
66
importpath = "github.com/GoogleContainerTools/container-structure-test/cmd/container-structure-test/app/flags",
7-
visibility = ["//visibility:public"],
7+
visibility = ["//cmd/container-structure-test/app/cmd:__pkg__"],
88
deps = ["@com_github_pkg_errors//:go_default_library"],
99
)

pkg/types/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ go_library(
88
deps = [
99
"//pkg/drivers",
1010
"//pkg/types/v1",
11-
"//pkg/types/v2:types",
11+
"//pkg/types/v2",
1212
],
1313
)

pkg/types/v2/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
load("@rules_go//go:def.bzl", "go_library")
22

33
go_library(
4-
name = "types",
4+
name = "v2",
55
srcs = [
66
"command.go",
77
"file_content.go",

0 commit comments

Comments
 (0)