Skip to content
Snippets Groups Projects
Commit 60cbf23b authored by Philipp Heckel's avatar Philipp Heckel
Browse files

Fix CGO stuff for sqlite

parent ecde123f
No related branches found
No related tags found
No related merge requests found
...@@ -4,11 +4,9 @@ before: ...@@ -4,11 +4,9 @@ before:
builds: builds:
- binary: ntfy - binary: ntfy
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=1 # required for go-sqlite3
goos: goos:
- linux - linux
- windows
- darwin
goarch: goarch:
- amd64 - amd64
nfpms: nfpms:
......
...@@ -94,6 +94,7 @@ build-snapshot: ...@@ -94,6 +94,7 @@ build-snapshot:
build-simple: clean build-simple: clean
mkdir -p dist/ntfy_linux_amd64 mkdir -p dist/ntfy_linux_amd64
export CGO_ENABLED=1
$(GO) build \ $(GO) build \
-o dist/ntfy_linux_amd64/ntfy \ -o dist/ntfy_linux_amd64/ntfy \
-ldflags \ -ldflags \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment