We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dbd29d commit 47e4aa4Copy full SHA for 47e4aa4
Makefile
@@ -21,3 +21,11 @@ test-fast:
21
! find _site/ -name '*.html' | xargs grep ']\[' | grep -v skip-test | grep .
22
## Ensure that no template strings leak through liquid rendering
23
! find _site/ -name '*.html' | xargs grep '\$$(.*)'
24
+
25
+ ## Check if the generated site differs
26
+ @if [ -n "$(shell git status --porcelain -- _site)" ]; then \
27
+ echo "FAILED: Built site differs from committed"; \
28
+ false; \
29
+ else \
30
+ echo "SUCCESS"; \
31
+ fi
0 commit comments