summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-13 17:24:27 -0600
committerJeff Carr <[email protected]>2025-02-13 17:24:27 -0600
commit9a2f103589f2793461bfaa1ce446f7922306f6f0 (patch)
tree7b771cefbd0e0624c552b91c62485d77f71c3b73 /Makefile
Day 1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f83b728
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+all: clean proto goimports vet
+
+redo: clean proto goimports vet
+
+vet:
+ @GO111MODULE=off go vet
+ @echo this go library builds okay
+
+goimports:
+ goimports -w *.go
+
+proto:
+ autogenpb --proto widget.proto
+ autogenpb --proto table.proto
+
+clean:
+ rm -f go.* *.pb.go