Update WORKSPACE / BUILD to work with bazel at HEAD.

Uses external rules_go github repository.
This commit is contained in:
Laramie Leavitt
2016-03-21 16:56:03 -07:00
parent f189432d24
commit dad6f57d6d
11 changed files with 39 additions and 42 deletions

7
BUILD
View File

@ -1,4 +1,4 @@
load("@bazel_tools//tools/build_rules/go:def.bzl", "go_prefix", "go_binary")
load("@io_bazel_rules_go//go:def.bzl", "go_prefix", "go_binary")
package(
default_visibility = ["//visibility:public"],
@ -9,11 +9,6 @@ go_prefix("github.com/laramiel/bazel-example-golang/")
go_binary(
name = "hello",
srcs = ["hello.go"],
)
go_binary(
name = "local",
srcs = ["local.go"],
deps = [
"//local",
],