summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-08 02:58:19 -0500
committerJeff Carr <[email protected]>2025-10-08 02:58:19 -0500
commit0a823f87a77a53ba73a3c05d69b08fb24e5f14ee (patch)
treea2eea413696c9e148d6ac2c57221bfcc0ae48505 /Makefile
parent14edae96ad6876121b7fdb51505c9e23b72a1f98 (diff)
typosv0.0.19
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 35867ad..5aac59a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,14 @@
-all: clean chat.pb.go book.pb.go goimports vet
+all: goimports vet
+
+generate: clean
+ go mod init
+ go mod tidy
+ go generate
+
+go-generate:
+ rm -f *.pb.go *.patch
+
+# all: clean chat.pb.go book.pb.go goimports vet
goimports:
goimports -w *.go