build notes for tlog protobuf files

This commit is contained in:
Jeff Carr 2025-01-17 04:46:42 -06:00
parent 0a4b985020
commit da03400035
1 changed files with 24 additions and 0 deletions

View File

@ -78,3 +78,27 @@ clean:
-rm -f go.*
-rm -f *.pb.go
-rm -f example
# pwd /home/jcarr/go/src
# 0 protoc
# 1 --go_out=.
# 2 --proto_path=github.com/google/certificate-transparency-go/trillian/migrillian/configpb
# 3 --go_opt=Mconfig.proto=github.com/google/certificate-transparency-go/trillian/migrillian/configpb
# 4 config.proto
#
#
# --go_opt=Mconfig.proto=github.com/google/certificate-transparency-go/trillian/migrillian/configpb \
protoc-tlog-buildtest-all:
cd ~/go/src && protoc --go_out=. --proto_path=github.com/google/certificate-transparency-go/trillian/migrillian/configpb \
--go_opt=Mconfig.proto=github.com/google/certificate-transparency-go/trillian/ctfe/configpb \
--go_opt=Mtrillian/ctfe/configpb/config.proto=github.com/google/certificate-transparency-go \
config.proto
protoc-tlog-buildtest-old:
-protoc --go_out=. --proto_path=github.com/google/certificate-transparency-go/trillian/migrillian/configpb \
--go_opt=Mconfig.proto=certificate-transparency-go/trillian/migrillian/configpb \
config.proto
protoc-tlog-buildtest-auto:
autogenpb --proto config.proto