test later-life portrait assets
This commit is contained in:
parent
34f3bd5c44
commit
a89be5d1f1
1 changed files with 14 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue