Skip to content
Permalink
96c53bf64d
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
30 lines (20 sloc) 517 Bytes
VENV=brute_venv
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/bf.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/testbin: tests/testbin.c
$(CC) -o tests/testbin test/testbin.c
test: FORCE venvcheck tests/testbin
py.test -v tests/
FORCE: