summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9a32973..202004e 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
# go install
-all: repo.pb.go
+all: repo.pb.go forgeConfig.pb.go
make -C forgeConfig
vet: lint
@@ -34,3 +34,9 @@ repo.pb.go: repo.proto
cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/forgepb \
--go_opt=Mrepo.proto=go.wit.com/lib/protobuf/forgepb \
repo.proto
+
+forgeConfig.pb.go: forgeConfig.proto
+ # I'm using version v1.35.x from google.golang.org/protobuf/cmd/protoc-gen-go
+ cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/forgepb \
+ --go_opt=MforgeConfig.proto=go.wit.com/lib/protobuf/forgepb \
+ forgeConfig.proto