github.com/resonatecoop/user-api@v1.0.0-13.0.20220915120639-05dc9c04014a/Makefile (about)

     1  generate: 
     2  	buf generate --path ./proto/user/common.proto
     3  	buf generate --path ./proto/user/tag.proto
     4  	buf generate --path ./proto/user/address.proto
     5  	buf generate --path ./proto/user/streetaddress.proto
     6  	buf generate --path ./proto/user/user_messages.proto
     7  	buf generate --path ./proto/user/usergroup_messages.proto
     8  	buf generate --path ./proto/user/user.proto
     9  	# Generate static assets for OpenAPI UI
    10  	statik -m -f -src third_party/OpenAPI/
    11  
    12  install:
    13  	go install \
    14  		google.golang.org/protobuf/cmd/protoc-gen-go \
    15  		google.golang.org/grpc/cmd/protoc-gen-go-grpc \
    16  		github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
    17  		github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
    18  		github.com/mwitkow/go-proto-validators/protoc-gen-govalidators \
    19  		github.com/rakyll/statik \
    20  		github.com/bufbuild/buf/cmd/buf