2022-11-07 08:49:05 +03:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod tidy
|
|
|
|
|
|
|
|
dist: dist-linux
|
|
|
|
|
|
|
|
builds:
|
|
|
|
-
|
|
|
|
main: .
|
|
|
|
binary: sq
|
2022-12-31 07:10:47 +03:00
|
|
|
flags:
|
|
|
|
- -a
|
2023-08-21 19:05:17 +03:00
|
|
|
# - -tags=netgo
|
2022-11-07 08:49:05 +03:00
|
|
|
env:
|
|
|
|
- CGO_ENABLED=1
|
|
|
|
- CGO_LDFLAGS=-static
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
ldflags:
|
|
|
|
- -s -w
|
2022-12-25 12:44:52 +03:00
|
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Version=v{{ .Version }}
|
2022-11-07 08:49:05 +03:00
|
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Commit={{ .ShortCommit }}
|
|
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Timestamp={{ .Date }}
|
2023-08-21 19:05:17 +03:00
|
|
|
tags:
|
|
|
|
- netgo
|
|
|
|
- sqlite_vtable
|
|
|
|
- sqlite_stat4
|
|
|
|
- sqlite_fts5
|
|
|
|
- sqlite_introspect
|
|
|
|
- sqlite_json
|
|
|
|
- sqlite_math_functions
|
2022-11-07 08:49:05 +03:00
|
|
|
archives:
|
|
|
|
- format: binary
|