meowlib/pb/protogen.sh

14 lines
433 B
Bash
Raw Normal View History

2022-01-15 22:19:29 +01:00
#!/bin/bash
echo Generating Golang
2022-01-15 22:19:29 +01:00
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
echo Generating HTML doc
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
echo Generating UML
2023-11-06 22:44:21 +01:00
protoc --plugin=protoc-gen-uml=/usr/bin/protoc-gen-uml \
--uml_out=../doc/generated -I=. *.proto