release management code can't handle things failing to build yet

This commit is contained in:
Jeff Carr 2025-02-20 14:36:58 -06:00
parent 39aefa4e49
commit 5c1489878f
2 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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