From fb08fe30b47261c2cea8188d26f1dbe2bec8298c Mon Sep 17 00:00:00 2001 From: klemek Date: Thu, 30 Apr 2026 22:41:50 +0200 Subject: [PATCH] tools(make): open html coverage with xdg-open --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index f122616..f2c009b 100644 --- a/Makefile +++ b/Makefile @@ -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