brew

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package brew implements the Pipe, providing formula generation and uploading it to a configured repo.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoArchivesFound happens when 0 archives are found.
	ErrNoArchivesFound = errors.New("no linux/macos archives found")

	// ErrMultipleArchivesSameOS happens when the config yields multiple archives
	// for linux or windows.
	ErrMultipleArchivesSameOS = errors.New("one tap can handle only archive of an OS/Arch combination. Consider using ids in the brew section")
)

Functions

This section is empty.

Types

type Pipe

type Pipe struct{}

Pipe for brew deployment.

func (Pipe) Default

func (Pipe) Default(ctx *context.Context) error

func (Pipe) Publish added in v0.89.0

func (Pipe) Publish(ctx *context.Context) error

Publish brew formula.

func (Pipe) Run

func (Pipe) Run(ctx *context.Context) error

func (Pipe) Skip added in v0.180.0

func (Pipe) Skip(ctx *context.Context) bool

func (Pipe) String

func (Pipe) String() string

Jump to

Keyboard shortcuts

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