magebuild

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBuild    = errors.New("build failed")
	ErrCoverage = errors.New("error generating coverage report")
	ErrInstall  = errors.New("install failed")
	ErrLicenses = errors.New("error collecting licenses")
	ErrToolPath = errors.New("path not found for tool")
	ErrUnit     = errors.New("unit test failed")
)

Functions

func Build

func Build() error

Build all the go code.

func Clean

func Clean() error

Clean up the build artifacts.

func Coverage

func Coverage() error

Coverage generates a coverage report in HTML.

func Gocov

func Gocov(ctx context.Context) error

Gocov generates a coverage report in XML.

func Install

func Install() error

Install the go code to $GOPATH/bin.

func PublishPrep

func PublishPrep() error

PublishPrep prepares the build artifacts for publishing.

func Unit

func Unit() error

Unit runs the unit tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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