Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Add a simple Makefile for the website.
· 172bcfde
Chris Lamb
authored
Apr 28, 2019
172bcfde
Add as simple "lint" command for the website so we can see how many pages are using the old style.
· 2b12ff75
Chris Lamb
authored
Apr 28, 2019
2b12ff75
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2b12ff75
...
...
@@ -5,4 +5,5 @@ before_script:
test
:
image
:
debian:stable
script
:
-
jekyll build --verbose --trace
-
make
-
make lint
Makefile
0 → 100644
View file @
2b12ff75
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