summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
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