ENV_BIN=env/bin all: run env: python3 -m venv env ${ENV_BIN}/pip install --upgrade pip pip-tools setuptools ${ENV_BIN}/pip install -e ".[tests]" ${ENV_BIN}/pip install -e . lint: pycodestyle ickapi pylint -j0 -d missing-docstring ickapi test: lint run: gunicorn --config gunicorn.conf --reload ickapi.main:app clean: rm -rf dist/ ickapi.egg-info/ find . -type f -name "*~" -exec rm -f {} \; find . -type d -name "__pycache__" -prune -exec rm -rf {} \; reset: clean rm -rf env/ .PHONY: all env lint test run clean reset