sbt

package
v1.0.22 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: MPL-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterLine

func FilterLine(line string) bool

func FilterLines added in v0.7.6

func FilterLines(lines []string) []string

func ParseDependencyGraph

func ParseDependencyGraph(graph Graph, evicted string) (pkg.Imports, pkg.Deps, error)

func ParseEvicted

func ParseEvicted(evicted string) map[pkg.ID]pkg.ID

func ParsePackageID

func ParsePackageID(packageID string) pkg.ID

func Task

func Task(project, configuration, task string) string

Types

type Dependency

type Dependency struct {
	Name    string
	Version string
}

type Edge

type Edge struct {
	Source string `xml:"source,attr"`
	Target string `xml:"target,attr"`
}

type Graph

type Graph struct {
	Nodes []Node `xml:"node"`
	Edges []Edge `xml:"edge"`
}

type GraphML

type GraphML struct {
	Graph Graph `xml:"graph"`
}

type Node

type Node struct {
	ID string `xml:"id,attr"`
}

type SBT

type SBT struct {
	Bin string
}

func (*SBT) Clean

func (s *SBT) Clean(dir, project, configuration string) error

func (*SBT) Compile

func (s *SBT) Compile(dir, project, configuration string) error

func (*SBT) DependencyList

func (s *SBT) DependencyList(dir, project, configuration string) (string, error)

func (*SBT) DependencyTree

func (s *SBT) DependencyTree(dir, project, configuration string) (pkg.Imports, pkg.Deps, error)

func (*SBT) Projects

func (s *SBT) Projects(dir string) ([]string, error)

Jump to

Keyboard shortcuts

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