From 4cf9d827290dcac8b36403986210842c3cac7e50 Mon Sep 17 00:00:00 2001 From: Caleb Horst Date: Thu, 18 Aug 2022 11:46:55 -0700 Subject: [PATCH] Tweaks to the GitHub PR actions (#17) * Just a manual change to a generated file, no big deal * Add install during generation * Fixes --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9d8667d..39efc5b 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ clean-gen: cd example/external && rm -f *.pb.atlas.validate.go && rm -f *.pb.gw.go && rm -f *.pb.go cd options && rm -f *.pb.go -generate: install-gen-gateway $(BUF) example options +generate: install-gen-gateway $(BUF) options install example install-gen-gateway: go generate tools/tools.go @@ -78,5 +78,5 @@ gentool-options: --go_out="Mgoogle/protobuf/descriptor.proto:$(DOCKERPATH)" \ $(PROJECT_ROOT)/options/atlas_validate.proto -test: generate +test: regenerate go test -v -cover ./example/examplepb