aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar Han-Wen Nienhuys <hanwen@google.com>2015-10-09 17:56:52 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-10-09 18:05:11 +0000
commit47182329400e359a7a6ad5857cf1854a4f9ec720 (patch)
tree002f31a16e5f0299d46b7019fc88122deccfb307 /WORKSPACE
parentefb45908bd2a1361f724a78b98b821c2b8c89b66 (diff)
Provide an example for the Go rules, eg.
bazel test examples/go/lib:lib_test bazel build examples/go/bin:bin -- MOS_MIGRATED_REVID=105070940
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE11
1 files changed, 11 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index fc9cb01d95..6c6c8d8bd5 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -80,3 +80,14 @@ new_http_archive(
sha256 = "87494218eea2441a7a24b40f227330877dbba75c5fa9014ac6188711baed53f6",
build_file = "tools/build_defs/sass/sassc.BUILD",
)
+
+bind(name = "go_prefix",
+ actual = "//:go_prefix",
+)
+
+new_http_archive(
+ name= "golang-linux-amd64",
+ url = "https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz",
+ build_file = "tools/build_rules/go/toolchain/BUILD.go-toolchain",
+ sha256 = "2593132ca490b9ee17509d65ee2cd078441ff544899f6afb97a03d08c25524e7"
+)