buck

package
v0.7.24 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MPL-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(cmd string, args ...string) (string, error)

Types

type AuditOutput

type AuditOutput struct {
	OutputMapping map[string][]string
}

AuditOutput models the output from the `buck audit` command.

type Buck

type Buck interface {
	Deps(bool) (graph.Deps, error)
}

Buck defines an interface for all Buck tool implementations.

func New

func New(target string) Buck

New creates a new Buck instance that calls the buck build tool directly.

type Setup

type Setup struct {
	Target string
	Cmd    func(string, ...string) (string, error)
}

Cmd implements Buck and defines how to retrieve buck output.

func (Setup) Deps

func (b Setup) Deps(upload bool) (graph.Deps, error)

Deps finds and uploads the dependencies of a Buck target using the supplied command and returns the dependency graph.

Jump to

Keyboard shortcuts

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