From f2515acf4ada1b9c12e33d0e92c5574a81db3ce1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 6 Sep 2025 14:43:53 -0500 Subject: day1 --- Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ac95660 --- /dev/null +++ b/Makefile @@ -0,0 +1,30 @@ +# You must use the current protoc-gen-go +# +# go-clone --go-src google.golang.org/protobuf +# cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go +# go install + + +all: generate goimports vet + +generate: clean + autogenpb --proto httpRequest.proto + +vet: + @GO111MODULE=off go vet + @echo this go library package builds okay + +# autofixes your import headers in your golang files +goimports: + goimports -w *.go + +clean: + rm -f *.pb.go *.patch + -rm -f go.* + go-mod-clean purge + +forgeConfig.pb.go: forgeConfig.proto + autogenpb --proto forgeConfig.proto + +patchset.pb.go: patchset.proto + autogenpb --proto patchset.proto -- cgit v1.2.3