1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 12:52:10 +00:00

Fix check-whole-site script

- Renamed some makefile jobs
- Added missing include directive
This commit is contained in:
Rohan Kumar 2022-06-16 17:19:23 -07:00
parent e7ceb122a5
commit 696af47454
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
# The following test the online instance, post-deploy. I just kept them here for convenience # The following test the online instance, post-deploy. I just kept them here for convenience
include Makefile
DOMAIN = seirdy.one DOMAIN = seirdy.one
PAGE_PATH = / PAGE_PATH = /
SCHEME=https:// SCHEME=https://

View file

@ -59,7 +59,7 @@ while getopts "hb" flags; do
esac esac
done done
make -j1 HUGO_FLAGS=-DF HUGO_BASEURL="$base_url" clean hugo xhtmlize lint-html make -j1 HUGO_FLAGS=-DF HUGO_BASEURL="$base_url" clean hugo xhtmlize validate-html
make -j2 -f Makefile.online lint-css axe equal-access URLS="$(curl "$base_url/sitemap.xml" | htmlq loc -t | rg -v '/search/$' | tr '\n' ' ')" make -j2 -f Makefile.online lint-css axe equal-access URLS="$(curl "$base_url/sitemap.xml" | htmlq loc -t | rg -v '/search/$' | tr '\n' ' ')"
# vi:ft=sh # vi:ft=sh