integrations

package
v0.0.0-...-e23c53f Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AntIntegration

type AntIntegration struct {
	// contains filtered or unexported fields
}

AntIntegration implements the integration interface.

func NewAntIntegration

func NewAntIntegration(config *config.AntConfig) *AntIntegration

NewAntIntegration returns a new instance of the ant integration wrapper.

func (*AntIntegration) GetTaskList

func (i *AntIntegration) GetTaskList() []TaskInfo

GetTaskList returns as list of tasks

func (*AntIntegration) PrepareCommand

func (i *AntIntegration) PrepareCommand(taskName string) *exec.Cmd

PrepareCommand prepares an exec.Cmd so that it will start the given task when executed

type GradleIntegration

type GradleIntegration struct {
	// contains filtered or unexported fields
}

GradleIntegration implements the integration interface.

func NewGradleIntegration

func NewGradleIntegration(config *config.GradleConfig) *GradleIntegration

NewGradleIntegration returns a new instance of the Gradle integration wrapper.

func (*GradleIntegration) GetTaskList

func (i *GradleIntegration) GetTaskList() []TaskInfo

GetTaskList returns as list of tasks

func (*GradleIntegration) PrepareCommand

func (i *GradleIntegration) PrepareCommand(taskName string) *exec.Cmd

PrepareCommand prepares an exec.Cmd so that it will start the given task when executed

type GruntIntegration

type GruntIntegration struct {
	// contains filtered or unexported fields
}

GruntIntegration implements the integration interface.

func NewGruntIntegration

func NewGruntIntegration(config *config.GruntConfig) *GruntIntegration

NewGruntIntegration returns a new instance of the grunt integration wrapper.

func (*GruntIntegration) GetTaskList

func (i *GruntIntegration) GetTaskList() []TaskInfo

GetTaskList returns as list of tasks

func (*GruntIntegration) PrepareCommand

func (i *GruntIntegration) PrepareCommand(taskName string) *exec.Cmd

PrepareCommand prepares an exec.Cmd so that it will start the given task when executed

type GulpIntegration

type GulpIntegration struct {
	// contains filtered or unexported fields
}

GulpIntegration implements the integration interface.

func NewGulpIntegration

func NewGulpIntegration(config *config.GulpConfig) *GulpIntegration

NewGulpIntegration returns a new instance of the gulp integration wrapper.

func (*GulpIntegration) GetTaskList

func (i *GulpIntegration) GetTaskList() []TaskInfo

GetTaskList returns as list of tasks

func (*GulpIntegration) PrepareCommand

func (i *GulpIntegration) PrepareCommand(taskName string) *exec.Cmd

PrepareCommand prepares an exec.Cmd so that it will start the given task when executed

type Integration

type Integration interface {
	PrepareCommand(taskName string) *exec.Cmd
	GetTaskList() []TaskInfo
}

Integration defines the interface of a build system integration

type TaskInfo

type TaskInfo struct {
	TaskName        string
	Description     string
	IntegrationName string
}

TaskInfo holds information about discovered tasks

Jump to

Keyboard shortcuts

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