mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
chore: fix help in Makefile, and add a new command
This commit is contained in:
parent
74539ab0a3
commit
a8a7bcff66
1 changed files with 7 additions and 3 deletions
10
Makefile
10
Makefile
|
|
@ -28,7 +28,9 @@ help:
|
|||
@echo "Tests:"
|
||||
@echo " test: Run tests"
|
||||
@echo " test-coverage: Run tests with HTML reporting (results + coverage)"
|
||||
@echo " test-coverage-report: Open coverage report in default system web browser"
|
||||
@echo " test-coverage-report: Generate HTML report of coverage"
|
||||
@echo " test-coverage-view: Open coverage report in default system web browser"
|
||||
@echo " test-coverage-and-view: Run tests with HTML report, and open it in default system web browser"
|
||||
@echo ""
|
||||
@echo "Documentation:"
|
||||
@echo " docs: Build docs"
|
||||
|
|
@ -115,10 +117,12 @@ test-coverage-report:
|
|||
$(py) coverage html -d $(reports_dir)/coverage
|
||||
|
||||
.PHONY: test-coverage-view
|
||||
test-coverage-view:
|
||||
$(py) coverage html -d $(reports_dir)/coverage
|
||||
test-coverage-view: test-coverage-report
|
||||
python -c "import webbrowser; webbrowser.open('file://$(shell pwd)/reports/coverage/index.html')"
|
||||
|
||||
.PHONY: test-coverage-and-view
|
||||
test-coverage-and-view: test-coverage test-coverage-view
|
||||
|
||||
# =================================================================================================
|
||||
# Docs
|
||||
# =================================================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue