Documentation
¶
Index ¶
- Variables
- func Clone(url string, targetDir string, _refName string, _progress bool) (r *git.Repository)
- func Pull(targetDir string, _progress bool) (err error)
- func ReadFile(path string) []byte
- func Run(progress bool, target string, name string, commands ...string)
- type DependencyConfig
- type ProductConfig
Constants ¶
This section is empty.
Variables ¶
Catchy : bold and cyan text
Error : bold and red text
Notice : bold and blue text
View Source
var Warning = color.New(color.FgYellow).PrintfFunc()
Warning : yellow text
Functions ¶
Types ¶
type DependencyConfig ¶
DependencyConfig : config for dependency
type ProductConfig ¶
type ProductConfig struct {
Name string
Version string
Description string
Dependencies map[string]*DependencyConfig
}
ProductConfig : config for product
func GetProductConfig ¶
func GetProductConfig(configFile string) ProductConfig
GetProductConfig : receives a bytestring and returns a ProductConfig
Click to show internal directories.
Click to hide internal directories.