summaryrefslogtreecommitdiff
path: root/doDebian.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 07:17:13 -0600
committerJeff Carr <[email protected]>2025-02-22 07:17:13 -0600
commitd687de6c043b6f3fd67827fd9f12e8af3ece0d68 (patch)
treed38baf951ffb06fafcb55d1e93a793bbbabd5622 /doDebian.go
parent84c772dc41eda87ea45531c63ac95cc3cece4237 (diff)
fix build with zoopb out of forgev0.0.46
Diffstat (limited to 'doDebian.go')
-rw-r--r--doDebian.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/doDebian.go b/doDebian.go
index 32aa538..219a80b 100644
--- a/doDebian.go
+++ b/doDebian.go
@@ -68,6 +68,20 @@ func buildDeb() {
}
/*
+ build-darwin:
+ GOOS=darwin GOARCH=amd64 GO111MODULE=off go build -v -o go-clone-darwin.x86 \
+ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
+
+ build-darwin-arm64:
+ GOOS=darwin GOARCH=arm64 GO111MODULE=off go build -v -o go-clone-darwin.arm \
+ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
+ */
+ if argv.MacBuild != nil {
+ log.Info("todo: add mac builds")
+ continue
+ }
+
+ /*
_, err := os.Stat(filepath.Join(outdir, debnames[check]))
if err == nil {
if debnames[check] == "" {