mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 03:13:33 +01:00
macOS server support, this is just to support iOS development, not for prod
This commit is contained in:
parent
577cd0fcea
commit
a2825880bc
3 changed files with 4 additions and 2 deletions
|
@ -70,9 +70,9 @@ builds:
|
|||
id: ntfy_darwin_all
|
||||
binary: ntfy
|
||||
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:
|
||||
- "-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]
|
||||
goarch: [amd64, arm64] # will be combined to "universal binary" (see below)
|
||||
nfpms:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//go:build !windows
|
||||
|
||||
package cmd
|
||||
|
||||
import (
|
Loading…
Reference in a new issue