summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2017-05-11 10:27:23 -0700
committerEd Tanous <ed.tanous@intel.com>2017-05-11 10:27:23 -0700
commitcc5a37f7362e8aabb8f21705c8583d2ff19a641d (patch)
tree5608eb4c28bc22aa221aa503916946fa5b79d827 /scripts
parente2fc45a1cd7645e50754d93ce52ec8935e723007 (diff)
downloadbmcweb-cc5a37f7362e8aabb8f21705c8583d2ff19a641d.tar.gz
bmcweb-cc5a37f7362e8aabb8f21705c8583d2ff19a641d.zip
incremental
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_web_assets.py4
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)))
OpenPOWER on IntegriCloud