1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

Run eeschema only once (not twice) per commit. 20% speed improvement.

- scripts/gitsch2ppm: new option -k to keep checked-out tree
- scripts/gitsch2ppm: new option -c to reuse Postscript files from -k run
- scripts/gitsch2ppm: removed C-style use of "break" from "case"
- scripts/schhist2web: use gitsch2ppm -k and -c to half number of
  eeschema runs
This commit is contained in:
Werner Almesberger
2010-08-27 14:31:05 -03:00
parent 43d512c30a
commit a241265aaf
2 changed files with 24 additions and 16 deletions

View File

@@ -136,8 +136,8 @@ for n in $first `git rev-list --reverse $first..HEAD`; do
if [ ! -d "$cache/ppm_$n" ]; then
rm -rf "$cache/ppm_$n"
mkdir "$cache/ppm_$n"
gitsch2ppm "$dir" "$schname" $n "$cache/ppm_$n" || exit
gitsch2ppm -w 500 "$dir" "$schname" $n "$cache/fat_$n" || exit
gitsch2ppm -k "$dir" "$schname" $n "$cache/ppm_$n" || exit
gitsch2ppm -c -w 500 "$dir" "$schname" $n "$cache/fat_$n" || exit
fi
for m in "$cache/ppm_$n/"*; do
[ "$m" = "$cache/ppm_$n/*" ] && break