Skip to content

Commit 2ec3512

Browse files
mc0Dig-Doug
authored andcommitted
Clean up library/build
1 parent 702ffca commit 2ec3512

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

src/typescript_grpc_node_library.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//src:typescript_proto_library.bzl", "typescript_proto_build")
1+
load("//src:typescript_proto_build.bzl", "typescript_proto_build")
22

33
def typescript_grpc_node_library(name, proto, use_grpc_js = False):
44
typescript_proto_build(

src/typescript_grpc_web_library.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//src:typescript_proto_library.bzl", "typescript_proto_build")
1+
load("//src:typescript_proto_build.bzl", "typescript_proto_build")
22

33
def typescript_grpc_web_library(name, proto):
44
typescript_proto_build(
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -310,14 +310,6 @@ def _typescript_proto_library_impl(ctx):
310310
],
311311
)
312312

313-
def typescript_proto_library(name, proto):
314-
typescript_proto_build(
315-
name = name,
316-
proto = proto,
317-
318-
generate = "base",
319-
)
320-
321313
typescript_proto_build = rule(
322314
attrs = {
323315
"proto": attr.label(
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
load("//src:typescript_proto_build.bzl", "typescript_proto_build")
2+
3+
def typescript_proto_library(name, proto):
4+
typescript_proto_build(
5+
name = name,
6+
proto = proto,
7+
8+
generate = "base",
9+
)

0 commit comments

Comments
 (0)