Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(targets []core.BuildLabel, state *core.BuildState, config *core.Configuration, initOpts InitOpts) (bool, *core.BuildState)
Init initialized the build for please
func InitDefault ¶
func InitDefault(targets []core.BuildLabel, state *core.BuildState, config *core.Configuration) (bool, *core.BuildState)
InitDefault initializing please as a default set, this is used in textDocument/references call in langserver
Types ¶
type InitOpts ¶
type InitOpts struct { ParsePackageOnly bool VisibilityParse bool DetailedTests bool // Don't stop on first failed target KeepGoing bool PrettyOutput bool ShouldRun bool // Show status of each target in output after build ShowStatus bool TraceFile string Arch cli.Arch NoLock bool }
InitOpts represents initialization options for please. These are usually being passed as cli args
Click to show internal directories.
Click to hide internal directories.