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