1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-22 17:52:30 +01:00

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

This commit is contained in:
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
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:

View file

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