Skip to content

Commit

Permalink
added force_rebuild for make proto
Browse files Browse the repository at this point in the history
  • Loading branch information
brian030128 committed May 21, 2024
1 parent b0c340d commit 159c14b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/services/group/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@ func (g Service) CreateGroup(ctx context.Context, req *monify.CreateGroupRequest
GroupId: groupId.String(),
MemberId: memberId.String(),
}, nil

}
3 changes: 3 additions & 0 deletions protobuf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ all: $(OUTPUT)
protoc --go_out=. --go_opt=paths=source_relative $<
%_grpc.pb.go: %.proto
protoc --go-grpc_out=. --go-grpc_opt=paths=source_relative $<

force_rebuild:
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative *.proto

0 comments on commit 159c14b

Please sign in to comment.