Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "1.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Config version
Version string `json:"version" yaml:"version"`
// Path to the executable symlinks
BinDir string `json:"binDir,omitempty" yaml:"binDir,omitempty"`
// Path to your project taps
TapDir string `json:"tapDir,omitempty" yaml:"tapDir,omitempty"`
// Path for the downloaded sources
TempDir string `json:"tempDir,omitempty" yaml:"tempDir,omitempty"`
// Path to the versioned executables
CellarDir string `json:"cellarDir,omitempty" yaml:"cellarDir,omitempty"`
// List of packages that should be installed
Packages []Package `json:"packages,omitempty" yaml:"packages,omitempty"`
}
Ownbrew configuration
type Package ¶
type Package struct {
// Name of the tap
Tap string `json:"tap" yaml:"tap"`
// Name of the package
Name string `json:"name,omitempty" yaml:"name,omitempty"`
// Names of the packages
Names []string `json:"names,omitempty" yaml:"names,omitempty"`
// Additional command args
Args []string `json:"args,omitempty" yaml:"args,omitempty"`
// Version of the package to install
Version string `json:"version" yaml:"version"`
// List of tags
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.