summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-17 16:45:22 -0500
committerJeff Carr <[email protected]>2025-03-17 16:45:22 -0500
commit5a9ae561ee0dbd9b82285594b6fb8b9fe3eea0bd (patch)
tree42c95dc30a1fc0bf77b991a559b0407300fa5a52 /Makefile
gin for protobufs Day1v0.0.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3d80c78
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+# You must use the current google protoc-gen-go
+#
+# cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go
+# go install
+
+all: goimports vet
+
+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
+ -rm -f go.*