Skip to content

Commit

Permalink
Add justfile recipe to compile protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
cluttrdev committed Jan 25, 2024
1 parent eb37e12 commit 5099d6c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ clean:

###############################################################################

proto-gen:
#!/bin/sh
protoc \
-I protos/ \
-I protos/vendor/opentelemetry-proto \
--go_out=. --go_opt=module=github.com/cluttrdev/gitlab-exporter \
--go-grpc_out=. --go-grpc_opt=module=github.com/cluttrdev/gitlab-exporter \
protos/gitlabexporter/proto/models/* protos/gitlabexporter/proto/service/*

docker-build:
#!/bin/sh

Expand Down

0 comments on commit 5099d6c

Please sign in to comment.