summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-14 01:04:47 -0500
committerJeff Carr <[email protected]>2025-10-14 01:05:38 -0500
commitf8d3817ebee3913bb8aecff6ea5de8fde6a560ec (patch)
tree882011abf0c228762a13c0967b80d9e995476536 /Makefile
parent79b7f7592ffc9e74d5419e86f6773733caba0d04 (diff)
add generate.go
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index faa4f09..3e0bdf5 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,11 @@ everything: build
find:
find /var/lib/apt/lists/mi* /home/mirrors/wit/dists -type f |xargs ls -l
+generate: clean
+ go mod init
+ go mod tidy
+ go generate
+
build: goimports
GO111MODULE=off go build \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"