summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-20 14:36:58 -0600
committerJeff Carr <[email protected]>2025-02-20 14:36:58 -0600
commit5c1489878f548d0cb330808d3d2d4288b7f53564 (patch)
tree50e71905c5a1b404e6c81161d8762682848dfe47
parent39aefa4e49ca7b7693c1e30522b10a72ffade99c (diff)
release management code can't handle things failing to build yetv0.0.37v0.0.36v0.0.35v0.0.34v0.0.33
-rw-r--r--Makefile14
-rw-r--r--stdoutFakefile.go6
2 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3c8811c..a505075 100644
--- a/Makefile
+++ b/Makefile
@@ -4,3 +4,17 @@ all:
clean:
rm -f go.*
go-mod-clean --purge
+
+build: goimports vet
+ GO111MODULE=off go build \
+ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
+
+install: goimports vet
+ GO111MODULE=off go install \
+ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
+
+vet:
+ GO111MODULE=off go vet
+
+goimports:
+ goimports -w *.go
diff --git a/stdoutFakefile.go b/stdoutFakefile.go
index 21e3d49..3c0c0e2 100644
--- a/stdoutFakefile.go
+++ b/stdoutFakefile.go
@@ -9,8 +9,14 @@ import (
"io"
"github.com/awesome-gocui/gocui"
+ "go.wit.com/log"
)
+func main() {
+ log.Info("This is here to develop go-deb support for multiple binaries")
+ log.Info("in a single go/git repo.")
+}
+
type FakeFile struct {
reader *bytes.Reader
buffer *bytes.Buffer