Commit d9e24a9e authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

We have actually moved away from all the old layouts so these are false positives.

parent 8d6069c1
Loading
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
OLD_LAYOUTS = $(notdir $(basename $(wildcard _layouts/*.html)))

all:
	jekyll build --verbose --trace

@@ -7,11 +5,6 @@ clean:
	rm -rf _site

lint:
	@for X in $(OLD_LAYOUTS); do \
		find -type f -not -wholename '*/_site/*' -print0 | xargs -0r grep -rl "layout: $$X" | while read Y; do \
			echo "W: $$Y is using legacy layout '$$X'"; \
		done \
	done
	@find -type f -not -wholename '*/_site/*' -print0 | xargs -0r grep -rl "href=[\"']/" | while read X; do \
		echo "W: $$X is using URIs that are not using '{{ \"/foo\" | prepend: site.baseurl }}'"; \
	done