meowlib/pb/protogen.sh

13 lines
367 B
Bash
Raw Permalink Normal View History

2022-01-15 22:19:29 +01:00
#!/bin/bash
protoc -I=. --go_out=.. messages.proto
mv ../forge.redroom.link/yves/meowlib/messages.pb.go ../
2022-10-29 20:07:35 +02:00
rm -rf ../forge.redroom.link
2023-11-06 22:44:21 +01:00
protoc --plugin=protoc-gen-doc=/usr/bin/protoc-gen-doc \
--doc_out=../doc/generated \
--doc_opt=html,index.html \
*.proto
protoc --plugin=protoc-gen-uml=/usr/bin/protoc-gen-uml \
--uml_out=../doc/generated -I=. *.proto