Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectFileDependencies ¶
ProjectFileDependencies returns the dependencies listed in a clojure project file.
func ValidBinary ¶
ValidBinary attempts to execute a list of `lein` commands and returns the most preferred.
Types ¶
type Dependency ¶
type Dependency struct { GroupID string `xml:"groupId"` ArtifactID string `xml:"artifactId"` Version string `xml:"version"` }
Dependency models a leiningen dependency.
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 Output ¶
Output is intended to supply a dependency graph from lein output.
func ShellOutput ¶
ShellOutput creates a Shell which shells out to the supplied binary to generate values to return.
Click to show internal directories.
Click to hide internal directories.