build

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Overview

Package build provides a simple interface to the goreleaser build.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(_ context.Context) error

Build runs goreleaser build with --rm-dist and --single-target flags.

func BuildSnapshot

func BuildSnapshot(_ context.Context) error

BuildSnapshot runs goreleaser build with --snapshot, --rm-dist and --single-target flags.

func BuildWithOptions

func BuildWithOptions(opts ...daggers.Option[config]) (*goreleaser.Result, error)

BuildWithOptions runs goreleaser build with specific options.

func WithArgs

func WithArgs(args ...string) daggers.Option[config]

WithArgs sets args to goreleaser build process.

func WithEnv

func WithEnv(envMap map[string]string) daggers.Option[config]

WithEnv append extra env variables to goreleaser build process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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