internal

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Build() error
	Binary() string
	Errors() string
}

Builder interface

func NewBuilder

func NewBuilder(sourcePath string, bin string, isDebug bool, buildArgs []string) Builder

NewBuilder creates new builder

type Runner

type Runner interface {
	Run() (*exec.Cmd, error)
	Info() (os.FileInfo, error)
	SetWriter(io.Writer)
	Kill() error
	AttachDebugger() (*exec.Cmd, error)
}

Runner interface

func NewRunner

func NewRunner(bin string, isDebug bool, args ...string) Runner

NewRunner creates new runner

Jump to

Keyboard shortcuts

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