Fix make proto substitutions
This commit is contained in:
parent
43aebacfa8
commit
c4b88333c9
2
Makefile
2
Makefile
|
@ -147,7 +147,7 @@ proto:
|
|||
protoc helper/identity/types.proto --go_out=plugins=grpc:../../..
|
||||
protoc builtin/logical/database/dbplugin/*.proto --go_out=plugins=grpc:../../..
|
||||
protoc logical/plugin/pb/*.proto --go_out=plugins=grpc:../../..
|
||||
sed -i -e 's/Idp/IDP/' -e 's/Url/URL/' -e 's/Id/ID/' -e 's/EntityId/EntityID/' -e 's/Api/API/' -e 's/Qr/QR/' -e 's/Totp/TOTP/' -e 's/Mfa/MFA/' -e 's/Pingid/PingID/' -e 's/protobuf:"/sentinel:"" protobuf:"/' -e 's/namespaceId/namespaceID/' -e 's/Ttl/TTL/' helper/identity/types.pb.go helper/storagepacker/types.pb.go logical/plugin/pb/backend.pb.go logical/identity.pb.go
|
||||
sed -i -e 's/Idp/IDP/' -e 's/Url/URL/' -e 's/Id/ID/' -e 's/IDentity/Identity/' -e 's/EntityId/EntityID/' -e 's/Api/API/' -e 's/Qr/QR/' -e 's/Totp/TOTP/' -e 's/Mfa/MFA/' -e 's/Pingid/PingID/' -e 's/protobuf:"/sentinel:"" protobuf:"/' -e 's/namespaceId/namespaceID/' -e 's/Ttl/TTL/' helper/identity/types.pb.go helper/storagepacker/types.pb.go logical/plugin/pb/backend.pb.go logical/identity.pb.go
|
||||
sed -i '1s;^;// +build !enterprise\n;' physical/types.pb.go
|
||||
sed -i '1s;^;// +build !enterprise\n;' helper/identity/mfa/types.pb.go
|
||||
|
||||
|
|
Loading…
Reference in New Issue