brew

package
v0.0.0-...-21520da Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package brew takes away the hard work of creating, maintaining and publishing Homebrew Formula for your projects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pour

func Pour(ctx *context.Context) error

Pour a Homebrew Formula for your project

Types

type ErrNoRelease

type ErrNoRelease struct{}

ErrNoRelease is raised when no release exists within the target repository

func (ErrNoRelease) Error

func (e ErrNoRelease) Error() string

Error returns a formatted message of the current error

type ReleaseArtefact

type ReleaseArtefact struct {
	URL    string
	SHA256 string
	OS     string
	Arch   string
}

ReleaseArtefact contains details about how a release artefact will be installed by the Homebrew Formula

type Template

type Template struct {
	Name           string
	Description    string
	Homepage       string
	Version        string
	License        string
	MacOSArtefacts []ReleaseArtefact
	LinuxArtefacts []ReleaseArtefact
}

Template contains all of the details needed to generate a Homebrew Formula

Jump to

Keyboard shortcuts

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