aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar David Chen <dzc@google.com>2015-12-04 13:25:38 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-12-04 21:06:34 +0000
commit7019ff9a0bb59c1e9e665cd39f858cb2c9205e63 (patch)
treecf1d73325c2976115741821fd37c6ea7d970ad1a /WORKSPACE
parentb4d482bee65fbb83351fc562bca2a30e55a90a49 (diff)
Use load() to add external repositories for Skylark rules.
-- MOS_MIGRATED_REVID=109405753
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE71
1 files changed, 10 insertions, 61 deletions
diff --git a/WORKSPACE b/WORKSPACE
index 3d570ff790..4bb08eda15 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,6 +1,16 @@
+load("/tools/build_defs/d/d", "d_repositories")
+load("/tools/build_defs/dotnet/csharp", "csharp_repositories")
+load("/tools/build_defs/jsonnet/jsonnet", "jsonnet_repositories")
+load("/tools/build_defs/sass/sass", "sass_repositories")
+load("/tools/build_rules/go/def", "go_repositories")
load("/tools/build_rules/rust/rust", "rust_repositories")
+csharp_repositories()
+d_repositories()
+go_repositories()
+jsonnet_repositories()
rust_repositories()
+sass_repositories()
# In order to run the Android integration tests, uncomment these rules, point
# them to the Android NDK and the SDK, and point the bind rules under them
@@ -33,64 +43,3 @@ bind(
# actual = "@androidndk//:files",
actual = "//:dummy",
)
-
-new_http_archive(
- name = "dmd-linux-x86_64",
- build_file = "tools/build_defs/d/dmd.BUILD",
- sha256 = "a5014886773853b4a42df19ee9591774cf281d33fbc511b265df30ba832926cd",
- url = "http://downloads.dlang.org/releases/2.x/2.067.1/dmd.2.067.1.linux.zip",
-)
-
-new_http_archive(
- name = "dmd-darwin-x86_64",
- build_file = "tools/build_defs/d/dmd.BUILD",
- sha256 = "aa76bb83c38b3f7495516eb08977fc9700c664d7a945ba3ac3c0004a6a8509f2",
- url = "http://downloads.dlang.org/releases/2.x/2.067.1/dmd.2.067.1.osx.zip",
-)
-
-git_repository(
- name = "jsonnet",
- remote = "https://github.com/google/jsonnet.git",
- tag = "v0.8.1",
-)
-
-new_http_archive(
- name = "libsass",
- build_file = "tools/build_defs/sass/libsass.BUILD",
- sha256 = "6a4da39cc0b585f7a6ee660dc522916f0f417c890c3c0ac7ebbf6a85a16d220f",
- url = "https://github.com/sass/libsass/archive/3.3.0-beta1.tar.gz",
-)
-
-new_http_archive(
- name = "sassc",
- build_file = "tools/build_defs/sass/sassc.BUILD",
- sha256 = "87494218eea2441a7a24b40f227330877dbba75c5fa9014ac6188711baed53f6",
- url = "https://github.com/sass/sassc/archive/3.3.0-beta1.tar.gz",
-)
-
-bind(
- name = "go_prefix",
- actual = "//:go_prefix",
-)
-
-new_http_archive(
- name = "golang-darwin-amd64",
- build_file = "tools/build_rules/go/toolchain/BUILD.go-toolchain",
- sha256 = "e94487b8cd2e0239f27dc51e6c6464383b10acb491f753584605e9b28abf48fb",
- url = "https://storage.googleapis.com/golang/go1.5.1.darwin-amd64.tar.gz",
-)
-
-new_http_archive(
- name = "golang-linux-amd64",
- build_file = "tools/build_rules/go/toolchain/BUILD.go-toolchain",
- sha256 = "2593132ca490b9ee17509d65ee2cd078441ff544899f6afb97a03d08c25524e7",
- url = "https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz",
-)
-
-new_http_archive(
- name = "nunit",
- build_file = "tools/build_defs/dotnet/nunit.BUILD",
- sha256 = "1bd925514f31e7729ccde40a38a512c2accd86895f93465f3dfe6d0b593d7170",
- type = "zip",
- url = "https://github.com/nunit/nunitv2/releases/download/2.6.4/NUnit-2.6.4.zip",
-)