Part of lp.scripts.utilities.js.jsbuild View In Hierarchy
Known subclasses: lp.scripts.utilities.js.jsbuild.CSSComboFile, lp.scripts.utilities.js.jsbuild.JSComboFile
It offers support for detecting if the file needs updating and updating it from it source files.
Method | __init__ | Undocumented |
Method | needs_update | Return True when the file needs to be updated. |
Method | log | Undocumented |
Method | update | Update the file from its source files. |
Method | get_comment | Return a string wrapped in a comment to be include in the output. |
Method | get_file_header | Return a string to include before outputting a file. |
Method | filter_file_content | Hook to process the file content before being combined. |
This is usually because the target file doesn't exist yet or because one of the source file was modified.
Can be used to help annotate the output file.
Can be used by subclasses to output a file reference in the combined file. Default implementation returns nothing.