build

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultAppExt

func DefaultAppExt() string

func Do

func Do(args []string, conf *Config)

Types

type Config

type Config struct {
	BinPath string
	AppExt  string // ".exe" on Windows, empty on Unix
	RunArgs []string
	Mode    Mode
}

func NewDefaultConf

func NewDefaultConf(mode Mode) *Config

type Mode

type Mode int
const (
	ModeBuild Mode = iota
	ModeInstall
	ModeRun
)

Jump to

Keyboard shortcuts

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