Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 6c0e468

Browse files
authored
Update rules_go. (#176)
1 parent 66d3837 commit 6c0e468

File tree

89 files changed

+2403
-289
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+2403
-289
lines changed

BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ go_library(
2626

2727
go_binary(
2828
name = "container-diff",
29+
embed = [":go_default_library"],
2930
importpath = "github.com/GoogleCloudPlatform/container-diff",
30-
library = ":go_default_library",
3131
visibility = ["//visibility:public"],
3232
)

WORKSPACE

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
http_archive(
22
name = "io_bazel_rules_go",
3-
sha256 = "91fca9cf860a1476abdc185a5f675b641b60d3acf0596679a27b580af60bf19c",
4-
url = "https://github.com/bazelbuild/rules_go/releases/download/0.7.0/rules_go-0.7.0.tar.gz",
3+
url = "https://github.com/bazelbuild/rules_go/releases/download/0.9.0/rules_go-0.9.0.tar.gz",
4+
sha256 = "4d8d6244320dd751590f9100cf39fd7a4b75cd901e1f3ffdfd6f048328883695",
55
)
66

77
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
88
go_rules_dependencies()
99
go_register_toolchains()
10-
11-
load("@io_bazel_rules_go//proto:def.bzl", "proto_register_toolchains")
12-
proto_register_toolchains()

cmd/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ go_test(
3131
"diff_test.go",
3232
"root_test.go",
3333
],
34+
embed = [":go_default_library"],
3435
importpath = "github.com/GoogleCloudPlatform/container-diff/cmd",
35-
library = ":go_default_library",
3636
)

differs/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ go_test(
3333
"pip_diff_test.go",
3434
"rpm_diff_test.go",
3535
],
36+
embed = [":go_default_library"],
3637
importpath = "github.com/GoogleCloudPlatform/container-diff/differs",
37-
library = ":go_default_library",
3838
deps = [
3939
"//pkg/util:go_default_library",
4040
"//util:go_default_library",

util/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ go_test(
3131
"package_diff_utils_test.go",
3232
"tar_utils_test.go",
3333
],
34+
embed = [":go_default_library"],
3435
importpath = "github.com/GoogleCloudPlatform/container-diff/util",
35-
library = ":go_default_library",
3636
deps = [
3737
"//pkg/cache:go_default_library",
3838
"//pkg/util:go_default_library",

vendor/github.com/Azure/go-ansiterm/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Azure/go-ansiterm/winterm/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Microsoft/go-winio/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/containerd/continuity/BUILD.bazel

Lines changed: 64 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/containers/image/docker/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)