# Simple makefile to do simple tasks.
.PHONY: all test test_fresh_installs install upload

clean:
	rm -rf dist *.egg-info

install:
	rm ~/.local/bin/*-hook && pip3 install . --user

test: install
	pytest -x -vvv --pdb

# Test with fresh installations of downloaded utilities.
test_fresh_installs:
	./tests/run_tests.sh

upload: clean
	python3 setup.py sdist
	twine upload dist/* --verbose
