[Git][reproducible-builds/reproducible-website][master] 2 commits: Correct lint rule.
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Mon Sep 30 19:07:45 UTC 2024
Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website
Commits:
e72d54fd by Chris Lamb at 2024-09-30T12:07:39-07:00
Correct lint rule.
- - - - -
f1f98564 by Chris Lamb at 2024-09-30T12:07:39-07:00
Use GitLab CI to artifact site; hopefully useful for testing branches.
- - - - -
2 changed files:
- .gitlab-ci.yml
- Makefile
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -7,3 +7,6 @@ test:
script:
- make
- make lint
+ artifacts:
+ - paths:
+ _site/*
=====================================
Makefile
=====================================
@@ -13,6 +13,10 @@ clean:
done
lint:
- @find -type f -not -wholename '*/_site/*' -print0 | xargs -0r grep -rl "href=[\"']/" | while read X; do \
+ @find \
+ -type f \
+ \( -name "*.md" -or -name "*.html" \) \
+ -not -wholename '*/_site/*' \
+ -print0 | xargs -0r grep -rl "href=[\"']/" | while read X; do \
echo "W: $$X is using URIs that are not using '{{ \"/foo\" | relative_url }}'"; \
done
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/compare/53a4b2f66fd07fea1e35b4da570965a901159707...f1f985641a59f5d4ca219533cf04d18f834a65d8
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/compare/53a4b2f66fd07fea1e35b4da570965a901159707...f1f985641a59f5d4ca219533cf04d18f834a65d8
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20240930/be2f9ac1/attachment.htm>
More information about the rb-commits
mailing list