summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-21 17:53:36 -0500
committerJeff Carr <[email protected]>2024-10-21 17:53:36 -0500
commitbda590a39b0a873b239b41d62cabe36c75f6a87f (patch)
tree517f5583053fcbb303bec0bde28d93c11fb97aa4 /Makefile
parentbe5548cd4e24addacd8a7cfa8c61c2fad5ccbd65 (diff)
make clean works. configfile builds and runs
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 292a050..43c32d0 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,17 @@ all:
# Then:
protoc --version
make droplet.pb.go
+ cd configfile && make
+
+vet:
+ GO111MODULE=off go vet
+
+lint:
+ buf lint droplet.proto
+
+# autofixes your import headers in your golang files
+goimports:
+ goimports -w *.go
redomod:
rm -f go.*
@@ -21,6 +32,8 @@ redomod:
clean:
rm -f *.pb.go
+ -rm go.*
+ cd configfile && make clean
droplet.pb.go: droplet.proto
protoc --go_out=. droplet.proto