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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user