def on_after_build_all(self, builder, **extra):
<EOL>try:<EOL><INDENT>is_enabled = self.is_enabled(builder.build_flags)<EOL><DEDENT>except AttributeError:<EOL><INDENT>is_enabled = self.is_enabled(builder.extra_flags)<EOL><DEDENT>if not is_enabled:<EOL><INDENT>return<EOL><DEDENT>reporter.report_generic('<STR_LIT>')<EOL>for htmlfile in self.find_html_files(builder.destination_path):<EOL><INDENT>self.minify_file(htmlfile)<EOL><DEDENT>reporter.report_generic('<STR_LIT>')<EOL>
after-build-all lektor event