Documentation
¶
Index ¶
Constants ¶
View Source
const FormulaTemplateAsset = "assets/formula.rb"
FormulaTemplateAsset defines the asset name of a formula template.
View Source
const MakefileAsset = "assets/Makefile"
MakefileAsset defines the asset name of Makefile.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildOpt ¶
type BuildOpt struct { // Directory to store package files Dest string // Directory to store brew file Brew string // Version string. Version string }
BuildOpt defines options for cmdInit.
type Formula ¶
type FormulaTemplate ¶
func (*FormulaTemplate) Generate ¶
func (f *FormulaTemplate) Generate() (res []byte, err error)
Click to show internal directories.
Click to hide internal directories.