1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-22 04:08:49 +02:00

docs: clarify dir

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2022-07-28 09:41:04 -03:00
parent daf88f6c80
commit bcdb7e650c
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -16,11 +16,6 @@ builds:
# Defaults to the binary name.
id: "my-build"
# Path to project's (sub)directory containing Go code.
# This is the working directory for the Go build command(s).
# Default is `.`.
dir: go
# Path to main.go file or main package.
# Notice: when used with `gomod.proxy`, this must be a package.
#
@ -180,6 +175,14 @@ builds:
# Defaults to `false`.
no_main_check: true
# Path to project's (sub)directory containing Go code.
# This is the working directory for the Go build command(s).
# If dir does not contain a `go.mod` file, and you are using `gomod.proxy`,
# produced binaries will be invalid.
# You would likely want to use `main` instead of this.
# Default is `.`.
dir: go
# Builder allows you to use a different build implementation.
# This is a GoReleaser Pro feature.
# Valid options are: `go` and `prebuilt`.