tools(make): open html coverage with xdg-open
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user