diff options
| author | Ed Tanous <ed.tanous@intel.com> | 2017-05-11 10:27:23 -0700 |
|---|---|---|
| committer | Ed Tanous <ed.tanous@intel.com> | 2017-05-11 10:27:23 -0700 |
| commit | cc5a37f7362e8aabb8f21705c8583d2ff19a641d (patch) | |
| tree | 5608eb4c28bc22aa221aa503916946fa5b79d827 /scripts | |
| parent | e2fc45a1cd7645e50754d93ce52ec8935e723007 (diff) | |
| download | bmcweb-cc5a37f7362e8aabb8f21705c8583d2ff19a641d.tar.gz bmcweb-cc5a37f7362e8aabb8f21705c8583d2ff19a641d.zip | |
incremental
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/build_web_assets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build_web_assets.py b/scripts/build_web_assets.py index 264448e..0b82cbc 100755 --- a/scripts/build_web_assets.py +++ b/scripts/build_web_assets.py @@ -98,7 +98,6 @@ def embed_angular_templates(sha1_list, dependency_ordered_file_list, content_dic if re.search("partial-.*\\.html", relative_path): sha1_path = get_sha1_path_from_relative(relative_path, sha1_list[relative_path]) - print("full_filepath" + full_filepath) preload_string += ( "<script type=\"text/ng-template\" id=\"" + sha1_path + "\">\n" + open(full_filepath, 'r').read() + @@ -207,7 +206,7 @@ def main(): full_filepath) extension = os.path.splitext(relative_path)[1] - print("Including {:<40} size {:>7}".format( + print("Including {:<40} raw size {:>7}".format( relative_path, len(file_content))) if extension == ".html" or relative_path == "/": @@ -319,6 +318,7 @@ def main(): relative_path_escaped=relative_path_escaped ) ) + print("{:<40} took {:<7} kbytes".format(relative_path_escaped, len(array_binary_text)/1024)) cpp_output.write("}\n}\n") print("Total static file size: {}KB".format(int(total_payload_size/1024))) |

