瀏覽代碼

adding file-size info for amalagamated files to trace sporadic build errors in travis

Stasik0 10 年之前
父節點
當前提交
a41901beb5
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tools/amalgamate.py

+ 3 - 0
tools/amalgamate.py

@@ -1,6 +1,7 @@
 from __future__ import print_function
 import re
 import argparse
+import os.path
 
 parser = argparse.ArgumentParser()
 parser.add_argument('version', help='version to include')
@@ -92,3 +93,5 @@ if not is_c:
 
 #endif /* %s */''' % (outname.upper() + "_H_"))
 file.close()
+
+print ("The size of "+args.outfile+" is "+ str(os.path.getsize(args.outfile)))