MECO™ API Reference
Functions
mMecoSettings.callbackLib Namespace Reference

[ MODULE ] - Callback module. More...

Functions

def getPreBuild (allLib, envEntryContainer)
 This function is invoked before packages are collected and environment is resolved. More...
 
def getPostBuild (allLib, envEntryContainer)
 This function is invoked after packages are collected and environment is resolved. More...
 
def getAppExecutableFlags (allLib)
 This function provides additional flags for given app executable. More...
 
def shouldInitializePackage (allLib, packagePath)
 This function determines whether given package should be initialized. More...
 

Detailed Description

[ MODULE ] - Callback module.

Function Documentation

◆ getPreBuild()

def mMecoSettings.callbackLib.getPreBuild (   allLib,
  envEntryContainer 
)

This function is invoked before packages are collected and environment is resolved.

Parameters
allLib[ mMeco.libs.allLib.All | None | in ] - All libraries.
envEntryContainer[ mMeco.libs.entryLib.EnvEntryContainer | None | in ] - Env entry container.
Exceptions
N/A
Returns
None - None.

◆ getPostBuild()

def mMecoSettings.callbackLib.getPostBuild (   allLib,
  envEntryContainer 
)

This function is invoked after packages are collected and environment is resolved.

Parameters
allLib[ mMeco.libs.allLib.All | None | in ] - All libraries.
envEntryContainer[ mMeco.libs.entryLib.EnvEntryContainer | None | in ] - Env entry container.
Exceptions
N/A
Returns
None - None.

◆ getAppExecutableFlags()

def mMecoSettings.callbackLib.getAppExecutableFlags (   allLib)

This function provides additional flags for given app executable.

Parameters
allLib[ mMeco.libs.allLib.All | None | in ] - All libraries.
Exceptions
N/A
Returns
str - Additional app executable flags.
None - If not additional app executable flags are available.

◆ shouldInitializePackage()

def mMecoSettings.callbackLib.shouldInitializePackage (   allLib,
  packagePath 
)

This function determines whether given package should be initialized.

Parameters
allLib[ mMeco.libs.allLib.All | None | in ] - All libraries.
packagePath[ str | None | in ] - Absolute path of the root of a package.
Exceptions
N/A
Returns
bool - True if the package should be initialized, False otherwise.