summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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