mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2024-11-21 18:03:48 +01:00
3f73984f6b
- Introduces a variable to override this if necessary
12 lines
274 B
Makefile
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
|