build-style/go: support building subdirectories
This commit is contained in:
@@ -1001,9 +1001,12 @@ setting up cross compilation.
|
||||
|
||||
The following variables influence how Go packages are built:
|
||||
|
||||
- `go_import_path`: The import path of the package, as it would be
|
||||
used with `go get`. For example, GitHub's `hub` program has the
|
||||
import path `github.com/github/hub`. This variable is required.
|
||||
- `go_import_path`: The import path of the package included in the
|
||||
distfile, as it would be used with `go get`. For example, GitHub's
|
||||
`hub` program has the import path `github.com/github/hub`. This
|
||||
variable is required.
|
||||
- `go_package`: The import path of the package that should be built.
|
||||
Defaults to `go_import_path`.
|
||||
- `go_get`: If set to yes, the package specified via `go_import_path`
|
||||
will be downloaded with `go get`. Otherwise, a distfile has to be
|
||||
provided. This option should only be used with `-git` (or similar)
|
||||
|
||||
Reference in New Issue
Block a user