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

21
submodule/BUILD Normal file
View File

@ -0,0 +1,21 @@
load("@bazel_tools//tools/build_rules/go:def.bzl", "go_prefix", "go_binary")
package(
default_visibility = ["//visibility:public"],
)
go_binary(
name ="bare",
srcs = [ "bare.go" ],
deps = [
"//submodule/src:bare",
],
)
go_binary(
name ="remote",
srcs = [ "remote.go" ],
deps = [
"//submodule/src/remote",
],
)