Documentation ¶
Overview ¶
Package gobuild provides the gobuild tool for sebuild.
This package handles a lot of nuances about building go packages that are compatible with sebuild's other build modes. It also creates proper dependencies such that ninja can determine if it has to re-compile Go binaries or not.
Normally, with go modules, relative paths are used to build, this fits well into using the top level directory for all things. Across modules and when using GOPATH we however cd into the source directory. A make-compatible diagnostic is in that case print to help editors such as vim to detect what directory error messages point to.
The go tool will itself change the current directory. This means that many of the paths we give it have to be absolute paths. Effort is thus spent converting to those.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.