targets

package
v1.17.1 Latest Latest
Warning

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

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

Documentation

Overview

Package targets defines the build targets for the mage project.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean() error

Clean removes the temporarily generated files from Release.

func Install

func Install() error

Install runs "go install" for mage. This generates the version info the binary.

func Lint

func Lint() error

Lint runs golangci-lint on the codebase.

func Release

func Release(tag string, dryRun *bool) (err error)

Release generates a new release. Expects a version tag in v1.x.x format. If dryRun is true, it creates a local tag and runs goreleaser without publishing, then deletes the tag. This can be used to verify release artifacts.

func Tools

func Tools() error

Tools installs the dev tools used by mage, such as golangci-lint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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