Skip to content
Permalink
Browse files
docs: clarify dir
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jul 28, 2022
1 parent daf88f6 commit bcdb7e650c7aa21e15383e0f65bf1b1bbd479922
Showing 1 changed file with 8 additions and 5 deletions.
@@ -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`.

0 comments on commit bcdb7e6

Please sign in to comment.