diff options
author | Martin Dengler <martin@martindengler.com> | 2009-08-05 17:04:21 (GMT) |
---|---|---|
committer | Martin Dengler <martin@martindengler.com> | 2009-08-05 17:04:21 (GMT) |
commit | b274ca90d6fac51a18be22bed378e1af0fcfc1dc (patch) | |
tree | 5b69c2e3990ed49470907077e60b6c1c067b5e80 | |
parent | 9e1c81a94ee1d43b0b8d4b91382f900aa2aad03c (diff) |
report package and size changes
-rwxr-xr-x | build | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -11,6 +11,12 @@ date ; date >> ${buildname}.buildlog echo building $buildname ; echo building $buildname >> ${buildname}.buildlog /usr/bin/time nice make -j 3 -f ../Makefile ${buildname}.done >> ${buildname}.buildlog 2>&1 +prevsize=$(< $prevbuild.tree.size.txt) +nextsize=$(< $nextbuild.tree.size.txt) +python -c "oldk = $prevsize ; newk = $nextsize ; print '%0.2fG (%dK)' % (newk / 1024 / 1024.0, newk - oldk)" >> $nextbuild.tree.size-change.txt + +diff -u $prevbuild.tree.packages.txt $nextbuild.tree.packages.txt > $nextbuild.tree.package-changes.txt + echo $buildname > lastbuild date ; date >> ${buildname}.buildlog |