gocmd

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(arg string, conf *BuildConfig) (err error)

func BuildFiles

func BuildFiles(files []string, conf *BuildConfig) (err error)

func Install

func Install(arg string, conf *InstallConfig) (err error)

func InstallFiles

func InstallFiles(files []string, conf *InstallConfig) (err error)

func RunDir

func RunDir(dir string, args []string, conf *RunConfig) (err error)

func RunFiles

func RunFiles(files []string, args []string, conf *RunConfig) (err error)

func Test

func Test(arg string, conf *TestConfig) (err error)

func TestFiles

func TestFiles(files []string, conf *TestConfig) (err error)

Types

type BuildConfig

type BuildConfig = Config

type Config

type Config struct {
	Gop   *GopEnv
	Flags []string
	Run   func(cmd *exec.Cmd) error
}

type GopEnv

type GopEnv = env.Gop

type InstallConfig

type InstallConfig = Config

type RunConfig

type RunConfig = Config

type TestConfig

type TestConfig = Config

Jump to

Keyboard shortcuts

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