mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-18 13:41:49 +03:00
36 lines
686 B
YAML
36 lines
686 B
YAML
before:
|
|
hooks:
|
|
- go mod tidy
|
|
|
|
dist: dist-linux
|
|
|
|
builds:
|
|
-
|
|
main: .
|
|
binary: sq
|
|
flags:
|
|
- -a
|
|
# - -tags=netgo
|
|
env:
|
|
- CGO_ENABLED=1
|
|
- CGO_LDFLAGS=-static
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
ldflags:
|
|
- -s -w
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Version=v{{ .Version }}
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Commit={{ .ShortCommit }}
|
|
- -X github.com/neilotoole/sq/cli/buildinfo.Timestamp={{ .Date }}
|
|
tags:
|
|
- netgo
|
|
- sqlite_vtable
|
|
- sqlite_stat4
|
|
- sqlite_fts5
|
|
- sqlite_introspect
|
|
- sqlite_json
|
|
- sqlite_math_functions
|
|
archives:
|
|
- format: binary
|