start
This commit is contained in:
24
BUILD
24
BUILD
@ -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",
|
||||
]
|
||||
)
|
||||
|
Reference in New Issue
Block a user