buildscript

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildScript

type BuildScript struct {
	AppName        string
	MainFile       string
	Folder         string
	Output         string
	CoverageMode   CoverageMode
	FileName       string
	Tags           []string
	Platforms      []*types.PlatformSpec
	Artifacts      []string
	Verbose        bool
	NoCoverage     bool
	ShouldGenerate bool
}

func NewBuildScript

func NewBuildScript(appName, mainfile string, folder string, tags []string, verbose bool, nocoverage bool, coverageMode CoverageMode, generateMode string, platforms ...*types.PlatformSpec) *BuildScript

func (*BuildScript) String

func (bs *BuildScript) String() string

TODO: the -race flag needs CDO enabled for now https://github.com/golang/go/issues/6508

type CoverageMode added in v0.14.0

type CoverageMode string

type GenerateMode added in v0.34.0

type GenerateMode string
const (
	GenerateModeAuto     GenerateMode = "auto"
	GenerateModeEnabled  GenerateMode = "enabled"
	GenerateModeDisabled GenerateMode = "disabled"
)

type Image

type Image string

Jump to

Keyboard shortcuts

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