FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Build Class Reference

make fossology, check for warnings and errors More...

Inheritance diagram for Build:
Inheritance graph
Collaboration diagram for Build:
Collaboration graph

Public Member Functions

 __construct ($srcPath, $logPath=NULL)
 make fossology More...
 

Additional Inherited Members

- Public Attributes inherited from FoIntegration
 $srcPath
 
 $logPath
 
- Protected Member Functions inherited from FoIntegration
 log ($message)
 log a message in a file More...
 
- Protected Attributes inherited from FoIntegration
 $LOGFD
 

Detailed Description

make fossology, check for warnings and errors

Parameters
string$srcPathfully qualified path to the source tree, e.g. /home/myhome/fossology/src/
string$logPathfully qualified path to the logfile, default is current working directory with filename fo_integration .log
Returns
object reference or exception on failure.
Todo:
if running in hudson, just to a make with output going to console and let jenkins count errors and warnings.
Author
markd

Definition at line 110 of file fo_integration.php.

Constructor & Destructor Documentation

◆ __construct()

Build::__construct (   $srcPath,
  $logPath = NULL 
)

make fossology

Cd's into the supplied source path. Does a make clean then a make. Checks the result of the make and returns a boolean.

Returns
boolean true for no make errors, false for 1 or more make errors

Reimplemented from FoIntegration.

Definition at line 122 of file fo_integration.php.


The documentation for this class was generated from the following file: