Make examples more consistent.

Move submodule examples into submodule/*
This commit is contained in:
Laramie Leavitt
2016-03-03 10:32:09 -08:00
parent d53f356dcd
commit 2c27d0f51d
7 changed files with 45 additions and 20 deletions

23
BUILD
View File

@ -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",
],
)