feat: add dead-link checker to build pipeline

This commit is contained in:
relikd
2023-03-03 20:44:43 +01:00
parent df28bde97f
commit 9854c0f670
3 changed files with 50 additions and 6 deletions

View File

@@ -61,9 +61,6 @@ server-v:
.PHONY: build
build: dist
@$(LEKTOR) build --output-path ../bin --buildstate-path build-state -f ENABLE_PDF_EXPORT
@echo
@echo 'Checking dead links ...'
@python3 extras/find-dead-links.py 'data/development'
.PHONY: deploy
deploy:
@@ -90,6 +87,11 @@ find-links:
|| echo 'nothing found.'
@echo
.PHONY: find-dead-links
find-dead-links:
@echo 'Checking dead links ...'
@python3 extras/find-dead-links.py 'data/development'
.PHONY: find-yield
find-yield:
@echo