[Git][reproducible-builds/reproducible-website][master] 2 commits: Add a simple Makefile for the website.

Chris Lamb gitlab at salsa.debian.org
Sun Apr 28 19:23:58 CEST 2019



Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website


Commits:
172bcfde by Chris Lamb at 2019-04-28T17:14:52Z
Add a simple Makefile for the website.

- - - - -
2b12ff75 by Chris Lamb at 2019-04-28T17:23:34Z
Add as simple "lint" command for the website so we can see how many pages are using the old style.

- - - - -


2 changed files:

- .gitlab-ci.yml
- + Makefile


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -5,4 +5,5 @@ before_script:
 test:
   image: debian:stable
   script:
-    - jekyll build --verbose --trace
+    - make
+    - make lint


=====================================
Makefile
=====================================
@@ -0,0 +1,14 @@
+OLD_LAYOUTS = $(notdir $(basename $(wildcard _layouts/*.html)))
+
+all:
+	jekyll build --verbose --trace
+
+clean:
+	rm -rf _site
+
+lint:
+	for X in $(OLD_LAYOUTS); do \
+		grep -rl "layout: $$X" . | while read Y; do \
+			echo "W: $$Y is using legacy layout '$$X'"; \
+		done \
+	done



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/compare/e5f8b608b29a15336b95d0e0b044f9f689e49800...2b12ff75bb96e9010f7b86f716a7bb2590fa8e5e

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/compare/e5f8b608b29a15336b95d0e0b044f9f689e49800...2b12ff75bb96e9010f7b86f716a7bb2590fa8e5e
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/20190428/9724c07e/attachment.html>


More information about the rb-commits mailing list