homebrewformula

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate added in v1.1.0

func Generate(f Formula) ([]byte, error)

func Write

func Write(outputPath string, body []byte) error

Types

type Asset

type Asset struct {
	GOOS   string
	GOARCH string
	Name   string
	SHA256 string
	URL    string
}

type Formula

type Formula struct {
	Tag       string
	Version   string
	Repo      string
	ClassName string
	Desc      string
	Homepage  string
	Assets    []Asset
}

func Build

func Build(tag, repo, checksumsPath, downloadBase string) (Formula, error)

Jump to

Keyboard shortcuts

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