|
|
@ -25,12 +25,6 @@ platform(
|
|
|
|
],
|
|
|
|
],
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
platform(
|
|
|
|
|
|
|
|
name = "linux",
|
|
|
|
|
|
|
|
constraint_values = [
|
|
|
|
|
|
|
|
"@platforms//os:linux",
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
go_cross_binary(
|
|
|
|
go_cross_binary(
|
|
|
|
name = "darwin_binary",
|
|
|
|
name = "darwin_binary",
|
|
|
@ -39,13 +33,6 @@ go_cross_binary(
|
|
|
|
target = "base",
|
|
|
|
target = "base",
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
go_cross_binary(
|
|
|
|
|
|
|
|
name = "linux_binary",
|
|
|
|
|
|
|
|
platform = ":linux",
|
|
|
|
|
|
|
|
sdk_version = "1.21.0",
|
|
|
|
|
|
|
|
target = "base",
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
load("@rules_pkg//:pkg.bzl", "pkg_tar")
|
|
|
|
load("@rules_pkg//:pkg.bzl", "pkg_tar")
|
|
|
|
|
|
|
|
|
|
|
|
pkg_tar(
|
|
|
|
pkg_tar(
|
|
|
|