Skip to content

Commit

Permalink
Merge pull request #186 from zaucy/bazel
Browse files Browse the repository at this point in the history
Added bazel WORKSPACE and BUILD file for protoc-gen-grpc-web
  • Loading branch information
stanley-cheung authored Jul 27, 2018
2 parents 6357fa7 + 1683f7f commit 448007f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bazel-*
9 changes: 9 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cc_binary(
name = "protoc-gen-grpc-web",
srcs = [
"javascript/net/grpc/web/grpc_generator.cc",
],
deps = [
"@com_google_protobuf//:protoc_lib"
],
)
7 changes: 7 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
workspace(name = "com_github_grpc_grpc_web")

http_archive(
name = "com_google_protobuf",
url = "https://github.com/google/protobuf/releases/download/v3.5.1/protobuf-cpp-3.5.1.zip",
strip_prefix = "protobuf-3.5.1",
)

0 comments on commit 448007f

Please sign in to comment.