From f9515280cf8ee5dd71be3b8e749e6405c4e77ca6 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 10 Mar 2025 04:36:35 -0500 Subject: make admin mode --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 09e702b..9a687c0 100644 --- a/Makefile +++ b/Makefile @@ -6,9 +6,7 @@ BUILDTIME = $(shell date +%Y.%m.%d) # create the go.mod and go.sum if this is a brand new repo REDOMOD = $(shell if [ -e go.sum ]; then echo go.sum exists; else GO111MODULE= go mod init; GO111MODULE= go mod tidy; fi) -all: build - ./virtigo --version - @#./virtigo --gui gocui +all: install @echo build worked build: goimports vet @@ -20,9 +18,12 @@ verbose: -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" install: - GO111MODULE=off go install \ + GO111MODULE=off go install -v -x \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +andlabs: verbose + ./virtigo --gui andlabs + # makes a .deb package debian: rm -f ~/incoming/virtigo*deb -- cgit v1.2.3