I'll eventually need to be able to run everything as a single application, so let's prepare for that now. This gives us a chance to get the imports right from the start, rather than needing to go through and fix things up again. I also add a test to make sure everything works as expected. Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
18 lines
450 B
Makefile
18 lines
450 B
Makefile
# Copyright 2019 (c) Anna Schumaker.
|
|
|
|
clean:
|
|
find . -type d -name __pycache__ -exec rm -r {} \+
|
|
find trier -type d -name "Test Album" -exec rm -r {} \+
|
|
find trier -type d -name "Test Library" -exec rm -r {} \+
|
|
|
|
.PHONY: trier
|
|
trier:
|
|
python trier/generate_tracks.py
|
|
EMMENTAL_TESTING=1 python -m unittest discover -v
|
|
|
|
.PHONY:cover
|
|
cover:
|
|
python trier/generate_tracks.py
|
|
EMMENTAL_TESTING=1 coverage run -m unittest discover -v
|
|
coverage report -m
|