Make examples more consistent.
Move submodule examples into submodule/*
This commit is contained in:
23
BUILD
23
BUILD
@ -4,11 +4,16 @@ package(
|
||||
default_visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
go_prefix("github.com/laramiel/bazel-example-golang")
|
||||
go_prefix("github.com/laramiel/bazel-example-golang/")
|
||||
|
||||
go_binary(
|
||||
name ="hello",
|
||||
srcs = [ "hello.go" ],
|
||||
)
|
||||
|
||||
go_binary(
|
||||
name ="local",
|
||||
srcs = [ "local.go" ],
|
||||
deps = [
|
||||
"//local",
|
||||
],
|
||||
@ -29,19 +34,3 @@ go_binary(
|
||||
"@bare//:bare",
|
||||
],
|
||||
)
|
||||
|
||||
go_binary(
|
||||
name ="subbare",
|
||||
srcs = [ "subbare.go" ],
|
||||
deps = [
|
||||
"//submodule/src:bare",
|
||||
],
|
||||
)
|
||||
|
||||
go_binary(
|
||||
name ="subremote",
|
||||
srcs = [ "subremote.go" ],
|
||||
deps = [
|
||||
"//submodule/src/remote",
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user