macOS server support, this is just to support iOS development, not for prod

pull/247/head
Philipp Heckel 2022-05-11 13:47:41 -04:00
parent 577cd0fcea
commit a2825880bc
3 changed files with 4 additions and 2 deletions

View File

@ -70,9 +70,9 @@ builds:
id: ntfy_darwin_all id: ntfy_darwin_all
binary: ntfy binary: ntfy
env: env:
- CGO_ENABLED=0 # explicitly disable, since we don't need go-sqlite3 - CGO_ENABLED=1 # explicitly disable, since we don't need go-sqlite3
ldflags: ldflags:
- "-X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}" - "-linkmode=external -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
goos: [darwin] goos: [darwin]
goarch: [amd64, arm64] # will be combined to "universal binary" (see below) goarch: [amd64, arm64] # will be combined to "universal binary" (see below)
nfpms: nfpms:

View File

@ -1,3 +1,5 @@
//go:build !windows
package cmd package cmd
import ( import (