1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

update build scripts

- new version of webhint has false positives
- new html-proofer has different flags
- add a comment
This commit is contained in:
Rohan Kumar 2023-04-24 09:53:36 -07:00
parent 54be7bca13
commit 3df303dfcf
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
3 changed files with 4 additions and 3 deletions

View file

@ -4,9 +4,9 @@
# hugo, brotli, ect (like gzip/zopfli), sd, htmlq (like jq for html), and xmllint.
image: alpine/edge
packages:
- curl # for webring update script
- curl # for webring update script, pre-installed on builds.sr.ht images
- rsync
- git # for Hugo's gitInfo
- git # for Hugo's gitInfo, pre-installed on builds.sr.ht images
- bmake
sources:
- https://git.sr.ht/~seirdy/seirdy.one

View file

@ -65,7 +65,7 @@ validate-html:
.PHONY: htmlproofer
htmlproofer:
htmlproofer $(OUTPUT_DIR) --disable-external --checks Images,Scripts,Favicon,OpenGraph --ignore-empty-alt=true --ignore-files $(OUTPUT_DIR)/search/index.html --enforce-https=false --ignore-urls '../music.txt'
htmlproofer $(OUTPUT_DIR) --disable-external --checks Images,Scripts,Favicon,OpenGraph --ignore-files $(OUTPUT_DIR)/search/index.html --ignore-urls '../music.txt'
linter-configs/htmltest.yml:
rsync $(RSYNCFLAGS) $(RSYNCFLAGS_EXTRA) deploy@seirdy.one:/home/deploy/refcache.json linter-configs/htmltest/refcache.json

View file

@ -67,6 +67,7 @@
"http-compression": "off",
"https-only": "error",
"sri": "error",
"detect-css-reflows": "off",
"manifest-exists": "error",
"manifest-file-extension": "error",
"manifest-is-valid": "error",