summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-25 10:02:14 -0500
committerJeff Carr <[email protected]>2025-08-25 10:02:14 -0500
commit6dd0052dcf530af22a43ca02a8e0b6cebcc383e0 (patch)
tree3bc6095ae4304c0b75c4628582fb2f903c4cbb7b /Makefile
parent9d5bd8d5b92fc91a6ff03398cd9f338dce4ca6b4 (diff)
restructor code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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: