Skip to content

Commit

Permalink
readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
grencez committed Jun 3, 2024
1 parent 3e8d7d6 commit 31b1eb0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
1 change: 0 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
common --experimental_enable_bzlmod
common --registry=https://raw.githubusercontent.com/rendezqueue/rendezqueue_bazel_registry/trunk
common --registry=https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/main
common --cxxopt=-std=c++17
Expand Down
13 changes: 9 additions & 4 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,26 @@ module(
version = "0.0.0",
)

bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_license", version = "0.0.8")
bazel_dep(name = "rules_proto", version = "6.0.0.bcr.1")

bazel_dep(
name = "abseil-cpp",
version = "20240116.2",
repo_name = "com_google_absl")
repo_name = "com_google_absl",
)
bazel_dep(
name = "grpc",
version = "1.62.1.bcr.1",
repo_name = "com_github_grpc_grpc")
repo_name = "com_github_grpc_grpc",
)

bazel_dep(
name = "fildesh",
version = "0.1.9",
dev_dependency = True)
dev_dependency = True,
)
git_override(
module_name = "fildesh",
remote = "https://github.com/fildesh/fildesh.git",
Expand All @@ -27,7 +31,8 @@ git_override(
bazel_dep(
name = "rules_sxproto",
version = "0.0.4",
dev_dependency = True)
dev_dependency = True,
)
git_override(
module_name = "rules_sxproto",
remote = "https://github.com/rendezqueue/rules_sxproto.git",
Expand Down
1 change: 1 addition & 0 deletions src/ccgrpc/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")

alias(
name = "grpc_cc_lib",
Expand Down
3 changes: 0 additions & 3 deletions src/ccgrpc/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@

This is a C++ / gRPC version of the server, but it doesn't actually do swapping yet so the binaries and deps are marked as testonly.
I'd like to actually use gRPC but JavaScript in a browser cannot talk to it directly, so what's the point?
Maybe grpc-web is a path forward, but it requires a proxy.

Anyway, this gRPC code shouldn't add too much extra to the build because JSON tests will rely on a protobuf schema for sanity.

You can test out the SSL authentication like this:

```shell
Expand Down
1 change: 1 addition & 0 deletions test/scenario/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
load("@fildesh//tool/bazel:fildesh_test.bzl", "fildesh_test")
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("@rules_sxproto//sxproto:defs.bzl", "sxproto_data")

Expand Down

0 comments on commit 31b1eb0

Please sign in to comment.