Skip to content
Permalink
2b22bd1cf4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
25 lines (17 sloc) 419 Bytes
INVENV = $(shell pip3 -V | grep 'venv')
current_dir = $(shell pwd)
prereqs: venvcheck FORCE
pip install -r requirements.txt
venv: FORCE
python3 -m venv venv
docs:
pdoc --html ./src/transcoder.py --force
venvcheck:
ifeq ($(INVENV),)
$(error You should only run this from within the venv. Use '. ./venv/bin/activate')
else
@echo "venv check passed\n"
endif
test: FORCE venvcheck
py.test -v tests/
FORCE: