User:Bugman/subsystems: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(→‎All subsystems: Updated the output to match the newest script.)
(→‎Script: Another bug fix.)
Line 506: Line 506:
                 # Output the source files.
                 # Output the source files.
                 if self.output_format in ["files", "declaration files"]:
                 if self.output_format in ["files", "declaration files"]:
                     print("%s" % subsystem.declaration_file)
                     if subsystem.full_path:
                        print("%s%s%s" % (subsystem.root_path, sep, subsystem.declaration_file))
                    else:
                        print("%s" % subsystem.declaration_file)
                 if self.output_format in ["files", "implementation files"]:
                 if self.output_format in ["files", "implementation files"]:
                     if subsystem.implementation_file:
                     if subsystem.implementation_file:
                         print("%s" % subsystem.implementation_file)
                         if subsystem.full_path:
                            print("%s%s%s" % (subsystem.root_path, sep, subsystem.implementation_file))
                        else:
                            print("%s" % subsystem.implementation_file)


             # Skip the rest of the function.
             # Skip the rest of the function.

Revision as of 21:35, 4 May 2018

Tracking down subsystems

Script

The following script is for finding all FlightGear dependencies:

All subsystems

The result is:

Refactoring

To check that all subsystems on a branch have been updated or refactored: