This commit is contained in:
Christian Nieves
2023-07-03 17:30:53 -05:00
parent 328aa0b8f5
commit 6f40b3a405
20 changed files with 36 additions and 207 deletions

24
BUILD
View File

@ -1,31 +1,13 @@
load("@io_bazel_rules_go//go:def.bzl", "go_prefix", "go_binary")
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
package(
default_visibility = ["//visibility:public"],
)
go_prefix("github.com/laramiel/bazel-example-golang/")
go_binary(
name = "hello",
srcs = ["hello.go"],
deps = [
"//local",
],
)
go_binary(
name = "remote",
srcs = ["remote.go"],
deps = [
"@ws_remote//:remote",
],
)
go_binary(
name = "bare",
srcs = ["bare.go"],
deps = [
"@ws_bare//:bare",
],
"//cmd",
]
)