@@ -34,8 +34,8 @@ closure_repositories()
3434
3535git_repository (
3636 name = "io_bazel_rules_dotnet" ,
37- commit = "b23e796dd0be27f35867590309d79ffe278d4eeb " ,
38- remote = "https://github.com/pcj /rules_dotnet.git" ,
37+ commit = "9283e4596fbadd7fed237b5c462dfd687c15d301 " ,
38+ remote = "https://github.com/bazelbuild /rules_dotnet.git" ,
3939)
4040
4141load ("@io_bazel_rules_dotnet//dotnet:csharp.bzl" , "csharp_repositories" )
@@ -46,11 +46,6 @@ csharp_repositories(use_local_mono = False)
4646# node_proto_library support requires rules_node
4747# ================================================================
4848
49- # local_repository(
50- # name = "org_pubref_rules_node",
51- # path = "/Users/pcj/github/rules_node",
52- # )
53-
5449git_repository (
5550 name = "org_pubref_rules_node" ,
5651 commit = "d93a80ac4920c52da8adccbca66a3118a27018fd" , # Oct 2, 2016
@@ -66,35 +61,99 @@ node_repositories()
6661# ================================================================
6762
6863load ("//protobuf:rules.bzl" , "proto_repositories" )
64+
6965proto_repositories ()
7066
7167load ("//cpp:rules.bzl" , "cpp_proto_repositories" )
68+
7269cpp_proto_repositories ()
7370
7471load ("//csharp:rules.bzl" , "csharp_proto_repositories" )
72+
7573csharp_proto_repositories ()
7674
7775load ("//java:rules.bzl" , "java_proto_repositories" , "nano_proto_repositories" )
76+
7877java_proto_repositories ()
78+
7979nano_proto_repositories ()
8080
8181load ("//go:rules.bzl" , "go_proto_repositories" )
82+
8283go_proto_repositories ()
8384
8485load ("//gogo:rules.bzl" , "gogo_proto_repositories" )
86+
8587gogo_proto_repositories ()
8688
8789load ("//grpc_gateway:rules.bzl" , "grpc_gateway_proto_repositories" )
90+
8891grpc_gateway_proto_repositories ()
8992
9093load ("//node:rules.bzl" , "node_proto_repositories" )
94+
9195node_proto_repositories ()
9296
9397load ("//objc:rules.bzl" , "objc_proto_repositories" )
98+
9499objc_proto_repositories ()
95100
96101load ("//python:rules.bzl" , "py_proto_repositories" )
102+
97103py_proto_repositories ()
98104
99105load ("//ruby:rules.bzl" , "ruby_proto_repositories" )
106+
100107ruby_proto_repositories ()
108+
109+ # ================================================================
110+ # This is for testing
111+ # ================================================================
112+
113+ local_repository (
114+ name = "org_pubref_rules_protobuf" ,
115+ path = "." ,
116+ )
117+
118+ GOOGLEAPIS_BUILD_FILE = """
119+ package(default_visibility = ["//visibility:public"])
120+
121+ load("@io_bazel_rules_go//go:def.bzl", "go_prefix")
122+ go_prefix("github.com/googleapis/googleapis")
123+
124+ load("@org_pubref_rules_protobuf//cpp:rules.bzl", "cc_proto_library")
125+ load("@org_pubref_rules_protobuf//java:rules.bzl", "java_proto_library")
126+ load("@org_pubref_rules_protobuf//go:rules.bzl", "go_proto_library")
127+
128+ cc_proto_library(
129+ name = "cc_label_proto",
130+ protos = [
131+ "google/api/label.proto",
132+ ],
133+ verbose = 0,
134+ )
135+ java_proto_library(
136+ name = "java_label_proto",
137+ protos = [
138+ "google/api/label.proto",
139+ ],
140+ # Neither seem to be necessary, for either 3 langs
141+ #imports = ["../../external/com_github_google_protobuf/src", "."],
142+ #inputs = ["@com_github_google_protobuf//:well_known_protos"],
143+ verbose = 0,
144+ )
145+ go_proto_library(
146+ name = "go_label_proto",
147+ protos = [
148+ "google/api/label.proto",
149+ ],
150+ verbose = 0,
151+ )
152+ """
153+
154+ new_git_repository (
155+ name = "com_github_googleapis_googleapis" ,
156+ build_file_content = GOOGLEAPIS_BUILD_FILE ,
157+ commit = "60c2f9c8d012db35a65539e30fb6364c36f2e96b" ,
158+ remote = "https://github.com/googleapis/googleapis.git" ,
159+ )
0 commit comments