summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-06-18 15:34:48 -0600
committermo khan <mo@mokhan.ca>2025-06-18 15:34:48 -0600
commitc9eff3857f706138bf96a959702c41815815cc3e (patch)
tree06fd2ac4394437a56f04efc9cfec2f88027b28d1
parentd78086a5e376fc0d9ee64a1dd8e4113d66dcafd3 (diff)
chore: add make target to test grpc server
-rw-r--r--Makefile3
-rw-r--r--mise.toml4
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9cc9188..4663b07 100644
--- a/Makefile
+++ b/Makefile
@@ -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"