nagios-http-json/Makefile
Markus Opolka 3f73984f6b Change makefile to use python3
- Introduces a variable to override this if necessary
2024-05-16 10:14:38 +02:00

12 lines
274 B
Makefile

.PHONY: lint test coverage
PYTHON_PATH?=python3
lint:
$(PYTHON_PATH) -m pylint check_http_json.py
test:
$(PYTHON_PATH) -m unittest discover
coverage:
$(PYTHON_PATH) -m coverage run -m unittest discover
$(PYTHON_PATH) -m coverage report -m --include check_http_json.py