diff --git a/Makefile b/Makefile index dad5b1cb4..5cb6172a8 100644 --- a/Makefile +++ b/Makefile @@ -182,6 +182,7 @@ protos: bin/protoc-gen-go-fieldpath find v2 -name '*.pb.go' -exec sh -c 'f={}; mkdir -p $$(dirname "$${f#v2/}"); echo mv $$f $${f#v2/}; mv $$f $${f#v2/}' \; @mv ${TMPDIR}/vendor ${ROOTDIR} @rm -rf ${TMPDIR} v2 + go-fix-acronym -w -a '^Os' $(shell find api/ core/runtime/ -name '*.pb.go') go-fix-acronym -w -a '(Id|Io|Uuid|Os)$$' $(shell find api/ core/runtime/ -name '*.pb.go') check-protos: protos ## check if protobufs needs to be generated again