diff options
| author | Jeff Carr <[email protected]> | 2025-09-10 17:31:25 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-10 17:31:25 -0500 |
| commit | 94bd4728ba260bbda7643e51f1beb9629b6b90d5 (patch) | |
| tree | 6b982dac41a9ee6a9bbaa72eb166b3c2fc7ef4df /Makefile | |
| parent | c3f5588365c1c68a1d87e5a6415eac18876dfce9 (diff) | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -3,21 +3,21 @@ VERSION = $(shell git describe --tags) BUILDTIME = $(shell date +%Y.%m.%d) -default: install +default: placement.pb.go install build: GO111MODULE=off go build \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" ./startxplacement -verbose: - GO111MODULE=off go install -v -x \ - -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" - install: goimports GO111MODULE=off go install \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +install-verbose: goimports vet + GO111MODULE=off go install -v -x \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + # makes a .deb package debian: rm -f ~/incoming/virtigo*deb @@ -35,4 +35,12 @@ redomod: clean: rm -f go.* - rm -f virtigo* + rm -f *.pb.go + rm -f startxplacement* + +vet: + GO111MODULE=off go vet + @echo 'go vet' worked for this application + +placement.pb.go: placement.proto + autogenpb --proto placement.proto |
