please

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(plz, target string) ([]string, error)

Build builds a target and returns the outputted files

func RecursivelyProvide added in v1.2.0

func RecursivelyProvide(plz, target, requires string) (string, error)

RecursivelyProvide queries the target, checking if it provides a different target for the given requirement, and returns that, repeating the operation if that target also provides a different target.

Types

type Config

type Config struct {
	Plugin struct {
		Go struct {
			ImportPath []string `json:"importpath"`
			Modfile    []string `json:"modfile"`
		} `json:"go"`
	} `json:"plugin"`
	Parse struct {
		BuildFileName      []string `json:"buildfilename"`
		PreloadSubincludes []string `json:"preloadsubincludes"`
		ExperimentalDir    []string `json:"experimentaldir"`
	} `json:"parse"`
}

func QueryConfig

func QueryConfig(plzTool string) (*Config, error)

func (*Config) BuildFileNames

func (c *Config) BuildFileNames() []string

func (*Config) GoIsPreloaded

func (c *Config) GoIsPreloaded() bool

func (*Config) ImportPath

func (c *Config) ImportPath() string

func (*Config) ModFile

func (c *Config) ModFile() string

Jump to

Keyboard shortcuts

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