Explorar o código

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

Stasik0 %!s(int64=10) %!d(string=hai) anos
pai
achega
a41901beb5
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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)))