14 lines
302 B
Makefile
14 lines
302 B
Makefile
#!/bin/bash
|
|
|
|
.PHONY: coverage errors
|
|
|
|
coverage:
|
|
cd src/; coverage run --source='.' manage.py test; coverage report -m; cd ..
|
|
@echo "Testing of coverage in the sources finished."
|
|
|
|
lint:
|
|
pylint src/* --disable=django-not-configured
|
|
|
|
errors:
|
|
pylint src/* --errors-only --disable=django-not-configured
|