From 6dd0052dcf530af22a43ca02a8e0b6cebcc383e0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 25 Aug 2025 10:02:14 -0500 Subject: restructor code --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3a70645..035f59c 100644 --- a/Makefile +++ b/Makefile @@ -3,13 +3,15 @@ VERSION = $(shell git describe --tags) BUILDTIME = $(shell date +%Y.%m.%d) +default: goimports verbose + build: GO111MODULE=off go build \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" - ./xstartplacement + ./startxplacement verbose: - GO111MODULE=off go build -v -x \ + GO111MODULE=off go install -v -x \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" install: -- cgit v1.2.3