ensure pdf gen is complete
parent
6cbf36a7cf
commit
245a3a739b
|
|
@ -40,9 +40,18 @@ google-chrome-stable \
|
||||||
--run-all-compositor-stages-before-draw \
|
--run-all-compositor-stages-before-draw \
|
||||||
--no-pdf-header-footer \
|
--no-pdf-header-footer \
|
||||||
http://localhost:8080/index.html
|
http://localhost:8080/index.html
|
||||||
|
get_state() {
|
||||||
|
cksum $outdir/public/BreeLaPointeResume.pdf | awk '{print $1}'
|
||||||
|
}
|
||||||
|
state=$(get_state)
|
||||||
|
while true; do
|
||||||
sleep 5
|
sleep 5
|
||||||
|
if [ "$state" == "$(get_state)" ]; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
kill $pid || true
|
kill $pid || true
|
||||||
ls $outdir/public/BreeLaPointeResume.pdf
|
echo; ls $outdir/public/BreeLaPointeResume.pdf
|
||||||
|
|
||||||
(
|
(
|
||||||
if ! which woff2_compress; then
|
if ! which woff2_compress; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue