Skip to content

Commit

Permalink
docs: clarify dir
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jul 28, 2022
1 parent daf88f6 commit bcdb7e6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions www/docs/customization/build.md
Expand Up @@ -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.
#
Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit bcdb7e6

Please sign in to comment.