Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Path is SRCLIBPATH, a colon-separated list of directories that lists // places to look for srclib toolchains and cache build data. It is // initialized from the SRCLIBPATH environment variable; if empty, it // defaults to $HOME/.srclib. Path = os.Getenv("SRCLIBPATH") // CacheDir stores cached build results. It is initialized from the // SRCLIBCACHE environment variable; if empty, it defaults to DIR/.cache, // where DIR is the first entry in Path (SRCLIBPATH). CacheDir = os.Getenv("SRCLIBCACHE") // CommandName holds the commands that will be used to call self when generating // Makefiles and updating toolchains. CommandName = "srclib" )
Functions ¶
This section is empty.
Types ¶
type ToolRef ¶ added in v0.0.29
type ToolRef struct { // Toolchain is the toolchain path of the toolchain that contains this tool. Toolchain string // Subcmd is the name of the toolchain subcommand that runs this tool. Subcmd string }
A ToolRef identifies a tool inside a specific toolchain. It can be used to look up the tool.
func (ToolRef) MarshalFlag ¶ added in v0.0.29
func (*ToolRef) UnmarshalFlag ¶ added in v0.0.29
Directories ¶
Path | Synopsis |
---|---|
Package ann is a generated protocol buffer package.
|
Package ann is a generated protocol buffer package. |
cmd
|
|
Package dep defines an interface for listing raw dependencies and resolving them, and registering handlers to perform these tasks.
|
Package dep defines an interface for listing raw dependencies and resolving them, and registering handlers to perform these tasks. |
Package graph is a generated protocol buffer package.
|
Package graph is a generated protocol buffer package. |
TODO(sqs): remove this file
|
TODO(sqs): remove this file |
Package store handles srclib data access, importing, querying, and storage.
|
Package store handles srclib data access, importing, querying, and storage. |
pb
Package pb is a generated protocol buffer package.
|
Package pb is a generated protocol buffer package. |
Package unit provides a source unit abstraction over distribution packages in various languages.
|
Package unit provides a source unit abstraction over distribution packages in various languages. |
Click to show internal directories.
Click to hide internal directories.