Documentation
¶
Index ¶
- Constants
- func Assembly(source, target, platform, mtarName, copyInParallel string, ...) error
- func ConvertTypes(mtaStr mta.MTA, platformName string) error
- func CopyMtaContent(source, target string, copyInParallel bool, wdGetter func() (string, error)) error
- func ExecBuild(...) error
- func ExecuteBuild(source, target, moduleName, platform string, wdGetter func() (string, error)) error
- func ExecuteCleanup(source, target, desc string, wdGetter func() (string, error)) error
- func ExecuteGenMeta(source, target, desc, platform string, wdGetter func() (string, error)) error
- func ExecuteGenMtad(source, target, platform string, wdGetter func() (string, error)) error
- func ExecuteGenMtar(source, target, targetProvided, desc, mtarName string, ...) error
- func ExecutePack(source, target, moduleName, platform string, wdGetter func() (string, error)) error
- func ExecuteProjectBuild(source, descriptor, phase string, getWd func() (string, error)) error
- func ExecuteValidation(source, desc, mode, strict, exclude string, ...) error
Constants ¶
View Source
const ( // PackFailedOnArchMsg - message raised when pack fails during archiving the module PackFailedOnArchMsg = `could not pack the "%s" module when archiving` // UnsupportedPhaseMsg - message raised when phase of mta project build is wrong UnsupportedPhaseMsg = `the "%s" phase of MTA project build is invalid; supported phases: "pre", "post"` )
Variables ¶
This section is empty.
Functions ¶
func Assembly ¶ added in v0.1.1
func Assembly(source, target, platform, mtarName, copyInParallel string, getWd func() (string, error)) error
Assembly - assemble mta project
func ConvertTypes ¶
ConvertTypes - convert types to appropriate target platform types
func CopyMtaContent ¶
func CopyMtaContent(source, target string, copyInParallel bool, wdGetter func() (string, error)) error
CopyMtaContent copies the content of all modules and resources which are presented in the deployment descriptor, in the source directory, to the target directory
func ExecBuild ¶ added in v0.2.6
func ExecBuild(makefileTmp, buildProjectCmdSrc, buildProjectCmdTrg, buildProjectCmdMode, buildProjectCmdMtar, buildProjectCmdPlatform string, buildProjectCmdStrict bool, wdGetter func() (string, error), wdExec func([][]string, bool) error, useDefaultMbt bool) error
ExecBuild - Execute MTA project build
func ExecuteBuild ¶
func ExecuteBuild(source, target, moduleName, platform string, wdGetter func() (string, error)) error
ExecuteBuild - executes build of module
func ExecuteCleanup ¶
ExecuteCleanup - cleanups temp artifacts
func ExecuteGenMeta ¶
ExecuteGenMeta - generates metadata
func ExecuteGenMtad ¶
ExecuteGenMtad - generates MTAD from MTA
func ExecuteGenMtar ¶
func ExecuteGenMtar(source, target, targetProvided, desc, mtarName string, wdGetter func() (string, error)) error
ExecuteGenMtar - generates MTAR
func ExecutePack ¶
func ExecutePack(source, target, moduleName, platform string, wdGetter func() (string, error)) error
ExecutePack - executes packing of module
func ExecuteProjectBuild ¶ added in v0.1.1
ExecuteProjectBuild - execute pre or post phase of project build
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.