test changing cameCase for _ in protobuf servercard
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ycc
2023-12-28 16:57:34 +01:00
parent a3b2473eed
commit 5eb6be1415
3 changed files with 118 additions and 127 deletions

View File

@ -100,7 +100,7 @@ message Matriochka {
message ServerCard {
string name = 1; // friendly server name
string description=2; // description : owner type (company/private/university...),
string publicKey = 3; // public key you must use to send encrypted messages to that server
string public_key = 3; // public key you must use to send encrypted messages to that server
string url = 4; // meow server url
string login = 5; // required login to access the server
string password = 6; // password associated to the login

View File

@ -1,12 +1,13 @@
#!/bin/bash
echo Generating Golang
protoc -I=. --go_out=.. messages.proto
mv ../forge.redroom.link/yves/meowlib/messages.pb.go ../
rm -rf ../forge.redroom.link
echo Generating HTML doc
protoc --plugin=protoc-gen-doc=/usr/bin/protoc-gen-doc \
--doc_out=../doc/generated \
--doc_opt=html,index.html \
*.proto
echo Generating UML
protoc --plugin=protoc-gen-uml=/usr/bin/protoc-gen-uml \
--uml_out=../doc/generated -I=. *.proto