summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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}"