summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-15 10:40:56 -0500
committerJeff Carr <[email protected]>2025-10-15 10:40:56 -0500
commitaba51175c7541a6ba2e80e13b20c43e5d88ad500 (patch)
tree4728218b5e80512370f9e1714a0bcf1bb53a7e21 /Makefile
parent2dd02cfdbbd1b29f57cd6a454941a9204965b9d3 (diff)
try to use config to track the build version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6301441..df83647 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%s)
-justinstall: install
+justinstall: install-verbose
# This will re-generate ALL of the needed autogenerated .pb.go files
generate: clean
@@ -26,6 +26,10 @@ install: goimports
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME}"
+install-verbose: goimports
+ GO111MODULE=off go install -v \
+ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME}"
+
vet:
GO111MODULE=off go vet
@@ -78,7 +82,7 @@ deb-with-commits-all:
rm -f ~/incoming/*.deb
forge commit --all
forge normal
- wit build deb --all --force --buildversion 8
+ wit build deb --all --force --buildversion 9
deb-with-commits-all-riscv64:
make commit