summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-22 06:19:24 -0500
committerJeff Carr <[email protected]>2024-10-22 06:19:24 -0500
commited7dd145f607edb60df43f457e7e0013f4647aba (patch)
tree5609e5bf746864852123876b564733dd5f9bda4a /Makefile
parent104aa512600682f8221ed2c6e0e3538336a969f3 (diff)
add prototext config format
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e6cd85a..28de8aa 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ all:
make droplet.pb.go
make hypervisor.pb.go
make cluster.pb.go
- cd configfile && make
+ make -C configfile
vet:
GO111MODULE=off go vet
@@ -26,6 +26,7 @@ lint:
# autofixes your import headers in your golang files
goimports:
goimports -w *.go
+ make -C configfile goimports
redomod:
rm -f go.*
@@ -35,7 +36,7 @@ redomod:
clean:
rm -f *.pb.go
-rm -f go.*
- cd configfile && make clean
+ make -C configfile clean
droplet.pb.go: droplet.proto
# protoc --go_out=. droplet.proto