gobuild

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2019 License: MIT Imports: 11 Imported by: 0

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

func Main

func Main(args ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL