FrontPage 

Fuego 1.0 wiki

Login or create account

function pre build in split format

NAME [edit section]

= NAME =
pre_build

SYNOPSIS [edit section]

= SYNOPSIS =
pre_build [nostrip]

DESCRIPTION [edit section]

= DESCRIPTION =
Wait for other builds of the same test running in parallel,
Process the Rebuild flag, and unpack test sources if necessary.
Process the ''Rebuild'' flag, and unpack test sources if necessary.
Build scripts must call this function in the beginning.
Build scripts must call this function in the beginning.

EXAMPLES [edit section]

= EXAMPLES =

ENVIRONMENT and ARGUMENTS [edit section]

tools.sh * $JOB_NAME * $TRIPLET
= ENVIRONMENT and ARGUMENTS =
This function uses:
 * $FUEGO_SCRIPTS_PATH/[[tools.sh]]
 * $JOB_NAME
 * $TRIPLET
Arguments: * $1 is passed directly to unpack() * (it can be 'nostrip' or empty)
Arguments:
 * $1 is passed directly to [[function_unpack|unpack()]]
   * (it can be 'nostrip' or empty)

RETURN [edit section]

= RETURN =
Returns 0 if actual build needs to be performed; 1 - otherwise.

SOURCE [edit section]

= SOURCE =
Located in ''scripts/functions.sh''

SEE ALSO [edit section]

unpack, build
= SEE ALSO =
 * [[function_unpack|unpack]], [[function_build|build]]
TBWiki engine 1.8.3 by Tim Bird