1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00

41 lines
918 B
Go
Raw Normal View History

2017-07-16 15:06:32 -03:00
package brew
import (
"embed"
"github.com/goreleaser/goreleaser/pkg/config"
)
2017-07-16 15:06:32 -03:00
type templateData struct {
Name string
Desc string
Homepage string
Version string
License string
Caveats []string
Plist string
PostInstall []string
Dependencies []config.HomebrewDependency
Conflicts []string
Tests []string
CustomRequire string
CustomBlock []string
LinuxPackages []releasePackage
MacOSPackages []releasePackage
Service []string
HasOnlyAmd64MacOsPkg bool
}
type releasePackage struct {
DownloadURL string
SHA256 string
OS string
Arch string
DownloadStrategy string
Install []string
Headers []string
2017-07-16 15:06:32 -03:00
}
//go:embed templates
var formulaTemplate embed.FS