cement/Makefile
BJ Dierkes 9cf8d808e5 Resolve Empty Sub-Commands Lists
- Resolves Issue #444
2018-03-04 14:19:36 -06:00

27 lines
502 B
Makefile

.PHONY: all dev test comply docs clean
all: test comply comply-test api-docs clean
dev:
docker-compose up -d
docker-compose exec cement /bin/ash
test: comply
python -m pytest -v --cov=cement --cov-report=term --cov-report=html:coverage-report tests/
comply:
flake8 cement/ tests/
comply-fix:
autopep8 -ri cement/ tests/
docs:
python setup.py build_sphinx
@echo
@echo DOC: "file://"$$(echo `pwd`/doc/build/html/index.html)
@echo
clean:
find . -name '*.py[co]' -delete
rm -rf doc/build