plz

package
v13.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

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