tree/Makefile

25 lines
363 B
Makefile

all:
@echo
@echo "Run: make redomod # to remake the go files"
@echo
redo: clean proto goimports vet
vet:
@GO111MODULE=off go vet
@echo this go plugin package builds okay
redomod: goimports
rm -f go.*
GO111MODULE= go mod init
GO111MODULE= go mod tidy
goimports:
goimports -w *.go
proto:
autogenpb --proto widget.proto
clean:
rm -f go.* *.pb.go