sbt

package
v0.7.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: MPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterLine

func FilterLine(line string) bool

func Task

func Task(project, configuration, task string) string

Types

type Dependency

type Dependency struct {
	Name    string
	Version string
}

func ParseDependencyTree

func ParseDependencyTree(output string, rootBuild bool) ([]Dependency, map[Dependency][]Dependency, error)

func ReadDependencyTree

func ReadDependencyTree(lines []string, parser LineParser) ([]Dependency, map[Dependency][]Dependency, error)

type LineParser

type LineParser func(line string) (level int, node Dependency, err error)

level is 1-indexed

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) ([]Dependency, map[Dependency][]Dependency, 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