test later-life portrait assets

This commit is contained in:
Yisroel Baum 2026-08-11 08:09:53 +03:00
parent 34f3bd5c44
commit a89be5d1f1
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -67,14 +67,26 @@ pkgs.runCommand "tide-module-test" { } ''
test -f ${landingPage}/${stylesheetFileName}
test ! -e ${landingPage}/styles.css
test -f ${landingPage}/robots.txt
test -f ${landingPage}/assets/rav-hirsch-1847.jpg
test -f ${landingPage}/assets/rav-hirsch-1847.webp
test -f ${landingPage}/assets/rav-hirsch-later-life.jpg
test -f ${landingPage}/assets/rav-hirsch-later-life.webp
test -f ${landingPage}/assets/social-preview-hirsch-later-life.png
test ! -e ${landingPage}/assets/rav-hirsch-1847.jpg
test ! -e ${landingPage}/assets/rav-hirsch-1847.webp
${pkgs.diffutils}/bin/cmp \
${../../site/styles.css} \
${landingPage}/${stylesheetFileName}
${pkgs.gnugrep}/bin/grep -F \
'href="/${stylesheetFileName}"' \
${landingPage}/index.html
${pkgs.gnugrep}/bin/grep -F \
'href="/assets/rav-hirsch-later-life.webp"' \
${landingPage}/index.html
${pkgs.gnugrep}/bin/grep -F \
'src="/assets/rav-hirsch-later-life.jpg"' \
${landingPage}/index.html
${pkgs.gnugrep}/bin/grep -F \
'assets/social-preview-hirsch-later-life.png' \
${landingPage}/index.html
if ${pkgs.gnugrep}/bin/grep -F \
'href="/styles.css"' \
${landingPage}/index.html; then