Skip to content

Commit

Permalink
chore: reworked build
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
  • Loading branch information
AlexsJones committed Feb 13, 2024
1 parent d738a20 commit a3d60f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ lint: guard-GOPATH
cd protobuf && ${GOPATH}/bin/buf lint

gen-go: install-buf guard-GOPATH
${GOPATH}/bin/buf generate --template protobuf/buf.gen.go.yaml
cd protobuf && ${GOPATH}/bin/buf generate --template buf.gen.go.yaml

gen-go-server: install-buf guard-GOPATH
${GOPATH}/bin/buf generate --template protobuf/buf.gen.go-server.yaml
cd protobuf && ${GOPATH}/bin/buf generate --template buf.gen.go-server.yaml
push-tag:
cd protobuf && buf push --tag=${TAG}
4 changes: 2 additions & 2 deletions protobuf/buf.gen.go-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ plugins:
opt:
- require_unimplemented_servers=false
- paths=source_relative
- plugin: buf.build/grpc-ecosystem/plugins/grpc-gateway:v2.10.3-1
- plugin: buf.build/grpc-ecosystem/gateway:v2.18.1
out: ../proto/go-server
opt:
- paths=source_relative
- generate_unbound_methods=true
- generate_unbound_methods=true

0 comments on commit a3d60f8

Please sign in to comment.