summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-16 00:07:22 -0600
committerJeff Carr <[email protected]>2024-11-16 00:07:22 -0600
commitc23cc60000b0b469e9c55a4e489f97003a2f8395 (patch)
tree41ab1850b5057f8ff4e25f54e343353d52f541ab
parent91356cd7530c9ba3fd53be1ab752ecf9e50abac8 (diff)
fix buildv0.5.10
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8511ee6..226f27a 100644
--- a/Makefile
+++ b/Makefile
@@ -12,15 +12,17 @@ no-gui: build
./go-clone --no-gui
build:
- GO111MODULE=off go build -v \
+ GO111MODULE=off go build \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
install:
- GO111MODULE=off go install -v \
+ GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
goimports:
goimports -w *.go
+ # // to globally reset paths:
+ # // gofmt -w -r "go.wit.com/gui -> go.wit.com/gui/gui" .
redomod:
rm -f go.*