1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00

docs: improve flags example

closes #810
This commit is contained in:
Carlos Alexandro Becker 2018-09-20 17:44:25 -03:00
parent 0ebf43a0fd
commit 08e0830979
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -5,9 +5,9 @@ hideFromIndex: true
weight: 30
---
Builds can be customized in multiple ways.
You can specify for which `GOOS`, `GOARCH` and `GOARM` binaries are built
(goreleaser will generate a matrix of all combinations), and you can changed
Builds can be customized in multiple ways.
You can specify for which `GOOS`, `GOARCH` and `GOARM` binaries are built
(goreleaser will generate a matrix of all combinations), and you can changed
the name of the binary, flags, environment variables, hooks and etc.
Here is a commented `builds` section with all fields specified:
@ -28,8 +28,7 @@ builds:
# Set flags for custom build tags.
# Default is empty.
flags:
- -tags
- dev
- -tags=dev
# Custom asmflags templates.
# Default is empty.