diff options
| author | Jeff Carr <[email protected]> | 2025-02-20 14:36:58 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-20 14:36:58 -0600 |
| commit | 5c1489878f548d0cb330808d3d2d4288b7f53564 (patch) | |
| tree | 50e71905c5a1b404e6c81161d8762682848dfe47 /Makefile | |
| parent | 39aefa4e49ca7b7693c1e30522b10a72ffade99c (diff) | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -4,3 +4,17 @@ all: clean: rm -f go.* go-mod-clean --purge + +build: goimports vet + GO111MODULE=off go build \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + +install: goimports vet + GO111MODULE=off go install \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + +vet: + GO111MODULE=off go vet + +goimports: + goimports -w *.go |
