package
1.2.34
Repository: https://github.com/sap/cloud-mta-build-tool.git
Documentation: pkg.go.dev

# Functions

GetBuildRequires - gets Requires property of module's build-params property as generic property and converts it to slice of BuildRequires structures.
GetModulesNames returns a list of module names.
GetModuleSourceArtifactPath - get the module's artifact that has to be archived in the mtar, from the project sources.
GetModuleTargetArtifactPath - get the path to where the module's artifact should be created in the temp folder, from which it's archived in the mtar.
GetRequiresArtifacts returns the source path, target path and patterns of files and folders to copy from a module's requires section.
IfNoSource - checks if "no-source" build parameter defined and set to "true".
IsArchive - check if file is a folder or an archive.
PlatformDefined - if platform defined If platforms parameter not defined then no limitations on platform, method returns true Non empty list of platforms has to contain specific platform.
ProcessDependencies - processes module dependencies function prepares all artifacts required for module copying them from required modules.
ProcessRequirements - Processes build requirement of module (using moduleName).
ProvideModules - provides modules in order of their dependencies.

# Constants

ModuleArtifactDefaultName - the default name of the build artifact.
SupportedPlatformsParam - name of build-params property for supported platforms.
WrongBuildArtifactNameMsg - message raised on wrong build artifact name.
WrongBuildResultMsg - message raised on wrong build result.

# Structs

BuildRequires - build requires section.