Add the vendor/ path, and add git submodules to the appropriate
subdirectory paths under vendor/ The intent is to make use of the golang 1.6 VENDOR extension to build. As seen, the bare example does not correctly build using bazel in this mode.
This commit is contained in:
7
vendor/github.com/laramiel/BUILD
generated
vendored
Normal file
7
vendor/github.com/laramiel/BUILD
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
load("@bazel_tools//tools/build_rules/go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "bare",
|
||||
srcs = [ "bazel-example-golang-bare/bare.go" ],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
1
vendor/github.com/laramiel/bazel-example-golang-bare
generated
vendored
Submodule
1
vendor/github.com/laramiel/bazel-example-golang-bare
generated
vendored
Submodule
Submodule vendor/github.com/laramiel/bazel-example-golang-bare added at 3bd848fc12
1
vendor/github.com/laramiel/bazel-example-golang-remote
generated
vendored
Submodule
1
vendor/github.com/laramiel/bazel-example-golang-remote
generated
vendored
Submodule
Submodule vendor/github.com/laramiel/bazel-example-golang-remote added at 8f2e405bb9
Reference in New Issue
Block a user