gobuild

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildModule

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

func (*BuildModule) Configure

func (b *BuildModule) Configure(config *types.BuildConfig) error

func (*BuildModule) Name

func (b *BuildModule) Name() string

func (*BuildModule) OnFail

func (b *BuildModule) OnFail() error

func (*BuildModule) Requires

func (b *BuildModule) Requires() []string

func (*BuildModule) RunModule

func (b *BuildModule) RunModule(modLogger *log.Logger, target types.Target) bool

func (*BuildModule) RunOnCached

func (*BuildModule) RunOnCached() bool

func (*BuildModule) TargetAgnostic

func (b *BuildModule) TargetAgnostic() bool

type Command

type Command struct {
	Name string `yaml:"name" validate:"required"`
	Path string `yaml:"path" validate:"required"`
}

type ModConfig

type ModConfig struct {
	Commands   []Command `yaml:"commands" validate:"required"`
	Ldflags    string    `yaml:"ldflags"`
	DisableCgo bool      `yaml:"cgoOff"`
	Root       string    `yaml:"root"`
}

Jump to

Keyboard shortcuts

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