mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +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:
parent
54be7bca13
commit
3df303dfcf
3 changed files with 4 additions and 3 deletions
|
@ -4,9 +4,9 @@
|
||||||
# hugo, brotli, ect (like gzip/zopfli), sd, htmlq (like jq for html), and xmllint.
|
# hugo, brotli, ect (like gzip/zopfli), sd, htmlq (like jq for html), and xmllint.
|
||||||
image: alpine/edge
|
image: alpine/edge
|
||||||
packages:
|
packages:
|
||||||
- curl # for webring update script
|
- curl # for webring update script, pre-installed on builds.sr.ht images
|
||||||
- rsync
|
- rsync
|
||||||
- git # for Hugo's gitInfo
|
- git # for Hugo's gitInfo, pre-installed on builds.sr.ht images
|
||||||
- bmake
|
- bmake
|
||||||
sources:
|
sources:
|
||||||
- https://git.sr.ht/~seirdy/seirdy.one
|
- https://git.sr.ht/~seirdy/seirdy.one
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -65,7 +65,7 @@ validate-html:
|
||||||
|
|
||||||
.PHONY: htmlproofer
|
.PHONY: htmlproofer
|
||||||
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:
|
linter-configs/htmltest.yml:
|
||||||
rsync $(RSYNCFLAGS) $(RSYNCFLAGS_EXTRA) deploy@seirdy.one:/home/deploy/refcache.json linter-configs/htmltest/refcache.json
|
rsync $(RSYNCFLAGS) $(RSYNCFLAGS_EXTRA) deploy@seirdy.one:/home/deploy/refcache.json linter-configs/htmltest/refcache.json
|
||||||
|
|
|
@ -67,6 +67,7 @@
|
||||||
"http-compression": "off",
|
"http-compression": "off",
|
||||||
"https-only": "error",
|
"https-only": "error",
|
||||||
"sri": "error",
|
"sri": "error",
|
||||||
|
"detect-css-reflows": "off",
|
||||||
"manifest-exists": "error",
|
"manifest-exists": "error",
|
||||||
"manifest-file-extension": "error",
|
"manifest-file-extension": "error",
|
||||||
"manifest-is-valid": "error",
|
"manifest-is-valid": "error",
|
||||||
|
|
Loading…
Reference in a new issue