Documentation
¶
Index ¶
Constants ¶
View Source
const ( HookPreBuild = "pre-build" HookPostBuild = "post-build" )
Variables ¶
This section is empty.
Functions ¶
func GetCurrentVersion ¶
Types ¶
type CarbonConfig ¶
type CarbonConfig struct { Cwd string Data latest.CarbonConfig }
func ParseConfig ¶
func ParseConfig(dir string, data []byte, vpref, vsuf string) (*CarbonConfig, error)
func (*CarbonConfig) HookDefined ¶
func (self *CarbonConfig) HookDefined(hookType string) bool
func (*CarbonConfig) RunHook ¶
func (self *CarbonConfig) RunHook(hookType string) error
Click to show internal directories.
Click to hide internal directories.