Documentation
¶
Index ¶
- Variables
- func CmdConverter(mPath string, cmdList []string) [][]string
- func GetBuilder(module *mta.Module) (string, bool, map[string]string, []string, error)
- func GetModuleAndCommands(loc dir.IMtaParser, module string) (*mta.Module, []string, string, error)
- type Builders
- type Command
- type CommandList
- type ModuleTypes
Constants ¶
This section is empty.
Variables ¶
View Source
var BuilderTypeConfig = []byte{} /* 2597 elements not displayed */
BuilderTypeConfig - do not edit
View Source
var ModuleTypeConfig = []byte{} /* 2310 elements not displayed */
ModuleTypeConfig - do not edit
Functions ¶
func CmdConverter ¶
CmdConverter - path and commands to execute
func GetBuilder ¶ added in v0.2.3
GetBuilder - gets builder type of the module and indicator of custom builder
Types ¶
type Builders ¶
type Builders struct {
Version string `yaml:"version"`
Builders []builder `yaml:"builders"`
}
Builders list of commands to execute
type Command ¶ added in v0.2.3
type Command struct {
Command string `yaml:"command"`
}
Command - specific command
type CommandList ¶
CommandList - list of command to execute
func CommandProvider ¶
func CommandProvider(module mta.Module) (CommandList, string, error)
CommandProvider - Get build command's to execute noinspection GoExportedFuncWithUnexportedType
type ModuleTypes ¶
type ModuleTypes struct {
Version string `yaml:"version"`
ModuleTypes []moduleType `yaml:"module-types"`
}
ModuleTypes - list of commands or builders related to specific module type
Click to show internal directories.
Click to hide internal directories.