tools(make): open html coverage with xdg-open

This commit is contained in:
2026-04-30 22:41:50 +02:00
parent ccd1ac9ffb
commit fb08fe30b4
+2
View File
@@ -15,6 +15,7 @@ COVERAGE ?= $(UV) run --active coverage
DOCKER ?= docker
DOCKER_TAG ?= localhost/stapler:latest
PORT ?= 8080
OPEN ?= xdg-open
# DOCS
@@ -116,6 +117,7 @@ coverage-report: .venv ## coverage report
.PHONY: coverage-html
coverage-html: .venv ## coverage html
@$(COVERAGE) html
@$(OPEN) htmlcov/index.html || true
.PHONY: coverage-xml
coverage-xml: .venv ## coverage xml