30 lines
655 B
YAML
30 lines
655 B
YAML
|
builds:
|
||
|
- binary: minify
|
||
|
main: ./cmd/minify/
|
||
|
ldflags: -s -w -X main.Version={{.Version}} -X main.Commit={{.Commit}} -X main.Date={{.Date}}
|
||
|
env:
|
||
|
- CGO_ENABLED=0
|
||
|
- GO111MODULE=on
|
||
|
goos:
|
||
|
- linux
|
||
|
- windows
|
||
|
- darwin
|
||
|
- freebsd
|
||
|
- netbsd
|
||
|
- openbsd
|
||
|
goarch:
|
||
|
- amd64
|
||
|
archive:
|
||
|
format: tar.gz
|
||
|
format_overrides:
|
||
|
- goos: windows
|
||
|
format: zip
|
||
|
name_template: "{{.Binary}}_{{.Version}}_{{.Os}}_{{.Arch}}"
|
||
|
files:
|
||
|
- README.md
|
||
|
- LICENSE.md
|
||
|
snapshot:
|
||
|
name_template: "devel"
|
||
|
release:
|
||
|
disable: true
|