Documentation ¶
Index ¶
- func FilterLine(line string) bool
- func Task(project, configuration, task string) string
- type Dependency
- type LineParser
- type SBT
- func (s *SBT) Clean(dir, project, configuration string) error
- func (s *SBT) Compile(dir, project, configuration string) error
- func (s *SBT) DependencyList(dir, project, configuration string) (string, error)
- func (s *SBT) DependencyTree(dir, project, configuration string) ([]Dependency, map[Dependency][]Dependency, error)
- func (s *SBT) Projects(dir string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterLine ¶
Types ¶
type Dependency ¶
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) DependencyList ¶
func (*SBT) DependencyTree ¶
func (s *SBT) DependencyTree(dir, project, configuration string) ([]Dependency, map[Dependency][]Dependency, error)
Click to show internal directories.
Click to hide internal directories.