runners

package
v0.0.0-...-31e5406 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTargetScript

func RunTargetScript(ctx *types.Ctx, proj *types.Project, taskScript string, taskArgs []string) error

Types

type Runner

type Runner interface {
	Name() string
	Detect(ctx *types.Ctx) bool
	Configure(ctx *types.Ctx, args []string) (*types.Project, error)
	Task(ctx *types.Ctx, proj *types.Project, args []string) error
	Collect(ctx *types.Ctx, proj *types.Project, args []string) ([]string, error)
}

func Get

func Get(targetName string, srcDir string, buildDir string) (Runner, *types.Ctx)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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