aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/go/bin/BUILD
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-02-01 10:28:54 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-02-02 14:54:39 +0000
commit68d0b69165127e259b23515f3d6d62fd1e4fc0ea (patch)
tree8c603526cc3df1ee662e38cf25d328c71837625e /examples/go/bin/BUILD
parent038a574e42dad1b29f734c10f2f4c3d4af1ee6a4 (diff)
Use labels in load statements
This will fix some issue with loading skylark rules from @bazel_tools. Tested with ./compile.sh all and also a project that use pkg_tar from @bazel_tools (which is broken at HEAD). -- Change-Id: Iffbb7134ef5fee497890c4d01b85084973d45ad0 Reviewed-on: https://bazel-review.googlesource.com/2800 MOS_MIGRATED_REVID=113508661
Diffstat (limited to 'examples/go/bin/BUILD')
-rw-r--r--examples/go/bin/BUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/go/bin/BUILD b/examples/go/bin/BUILD
index d6676c401a..ee97b92c89 100644
--- a/examples/go/bin/BUILD
+++ b/examples/go/bin/BUILD
@@ -2,7 +2,7 @@ package(
default_visibility = ["//visibility:public"],
)
-load("/tools/build_rules/go/def", "go_binary")
+load("//tools/build_rules/go:def.bzl", "go_binary")
go_binary(
name = "bin",