Makeprojects
Loading...
Searching...
No Matches
makeprojects.rebuildme Namespace Reference

Rebuild a project. More...

Functions

 main (working_directory=None, args=None)
 Invoke the command line rebuildme.

Detailed Description

Rebuild a project.

Package that handles the command line program rebuildme.

The command rebuildme calls cleanme and then buildme in that order.

See also
main
makeprojects.buildme
makeprojects.cleanme

Function Documentation

◆ main()

makeprojects.rebuildme.main ( working_directory = None,
args = None )

Invoke the command line rebuildme.

Entry point for the program rebuildme, this function will either get the parameters from sys.argv or the paramater args.

  • --version, show version.
  • -r, Perform a recursive rebuild.
  • -v, Verbose output.
  • --generate-rules, Create build_rules.py and exit.
  • --rules-file, Override the configruration file.
  • -f, Stop building on the first build failure.
  • -d, List of directories to rebuild.
  • -docs, Compile Doxyfile files.
  • Additional terms are considered specific files to build.
Parameters
working_directoryDirectory to rebuild, or None for os.getcwd()
argsCommand line to use instead of sys.argv
Returns
Zero on no error, non-zero on error