ant

package
v0.7.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2018 License: MPL-2.0 Imports: 21 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHashes

func GetHashes(path string) (module.Hashes, error)

GetHashes computes hexadecimal checksums of a variety of types for a given file path

Types

type AntBuilder

type AntBuilder struct {
	AntCmd     string
	AntVersion string

	JavaCmd     string
	JavaVersion string
}

AntBuilder implements build context for SBT builds

func (*AntBuilder) Analyze

func (builder *AntBuilder) Analyze(m module.Module, allowUnresolved bool) ([]module.Dependency, error)

Analyze resolves a lib directory and parses the jars inside

func (*AntBuilder) Build

func (builder *AntBuilder) Build(m module.Module, force bool) error

Build is currently not implemented

func (*AntBuilder) DiscoverModules

func (builder *AntBuilder) DiscoverModules(dir string) ([]module.Config, error)

DiscoverModules returns a root build.xml if found, and build configs for all sub-projects otherwise

func (*AntBuilder) Initialize

func (builder *AntBuilder) Initialize() error

Initialize collects metadata on Java and SBT binaries

func (*AntBuilder) IsBuilt

func (builder *AntBuilder) IsBuilt(m module.Module, allowUnresolved bool) (bool, error)

IsBuilt always returns true for Ant builds

func (*AntBuilder) IsModule

func (builder *AntBuilder) IsModule(target string) (bool, error)

IsModule is not implemented

Jump to

Keyboard shortcuts

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