Documentation ¶
Index ¶
- Constants
- Variables
- func BuildForceWithoutTag(name *string, rootDir string, noDep bool) error
- func BuildTag(name *string, tag string, rootDir string) error
- func BuildWithoutTag(name *string, rootDir string, noDep bool) error
- type Dependencies
- type Env
- type Project
- type Projects
- type Strategies
- type Strategy
Constants ¶
View Source
const ( COMPARE_TO = "compare-to" PREVIOUS_COMMIT = "previous-commit" )
Variables ¶
View Source
var (
ErrCmdDoesNotExist = errors.New("command does not exists")
)
Functions ¶
func BuildForceWithoutTag ¶ added in v0.0.42
Types ¶
type Dependencies ¶ added in v0.0.39
type Dependencies []*Project
type Project ¶ added in v0.0.4
type Project struct { // BaseDir is the directory where the configuration file is located BaseDir string `mapstructure:"-"` // command to build the project BuildScript string `mapstructure:"build"` // where the config file is located ConfigFile string `mapstructure:"-"` // list of dependency folders DependsOn []string `mapstructure:"depends_on"` Dependencies Dependencies Disable bool Env []struct { Name string Value string } Ignore []string IsLibrary bool `mapstructure:"is_library"` Name string RootDir string Scripts map[string]string Strategies Strategies Tag bool `mapstructure:"tag"` VersionScript string `mapstructure:"version"` // WorkDir is the directory where the work happen WorkDir string `mapstructure:"workdir"` // contains filtered or unexported fields }
func FindByName ¶ added in v0.0.26
func New ¶ added in v0.0.8
New reads current config in directory the function is expecting full path as argument
func (*Project) WasUpdated ¶ added in v0.0.4
type Projects ¶ added in v0.0.16
func FindAllUpdated ¶ added in v0.0.7
type Strategies ¶ added in v0.0.39
func (Strategies) UpdatedFiles ¶ added in v0.0.39
func (strategies Strategies) UpdatedFiles() []string
Click to show internal directories.
Click to hide internal directories.