diff options
| author | mo khan <mo@mokhan.ca> | 2025-06-18 15:34:48 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-06-18 15:34:48 -0600 |
| commit | c9eff3857f706138bf96a959702c41815815cc3e (patch) | |
| tree | 06fd2ac4394437a56f04efc9cfec2f88027b28d1 | |
| parent | d78086a5e376fc0d9ee64a1dd8e4113d66dcafd3 (diff) | |
chore: add make target to test grpc server
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | mise.toml | 4 |
2 files changed, 7 insertions, 0 deletions
@@ -16,3 +16,6 @@ server: test: @cargo test +.PHONY: grpcurl +grpcurl: + @grpcurl -plaintext -import-path ./proto -proto helloworld.proto -d '{"name": "Tonic"}' '[::1]:50051' helloworld.Greeter/SayHello diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..8ea9b50 --- /dev/null +++ b/mise.toml @@ -0,0 +1,4 @@ +[tools] +cargo = "latest" +grpcurl = "latest" +rust = "latest" |
