mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-04 05:37:35 +03:00
Re-add simple target to be able to build on macOS
This commit is contained in:
parent
da7a1f656f
commit
42c3c6eb29
5 changed files with 1139 additions and 1003 deletions
|
@ -70,9 +70,9 @@ builds:
|
|||
id: ntfy_darwin_all
|
||||
binary: ntfy
|
||||
env:
|
||||
- CGO_ENABLED=1 # explicitly disable, since we don't need go-sqlite3
|
||||
- CGO_ENABLED=0 # explicitly disable, since we don't need go-sqlite3
|
||||
ldflags:
|
||||
- "-linkmode=external -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
|
||||
- "-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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue