Skip to content
Permalink
f3594019e8
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
34 lines (22 sloc) 1018 Bytes
BLACK := $(shell tput -Txterm setaf 0)
RED := $(shell tput -Txterm setaf 1)
GREEN := $(shell tput -Txterm setaf 2)
YELLOW := $(shell tput -Txterm setaf 3)
LIGHTPURPLE := $(shell tput -Txterm setaf 4)
PURPLE := $(shell tput -Txterm setaf 5)
BLUE := $(shell tput -Txterm setaf 6)
WHITE := $(shell tput -Txterm setaf 7)
RESET := $(shell tput -Txterm sgr0)
all: FORCE
@echo "\n${GREEN}This is an empty Makefile. You can put stuff in here, or just delete it if you don't need it.${RESET}\n"
test: FORCE message
py.test -v tests/
docs: FORCE message
pdoc --html ./src/*.py --force
message: FORCE
@echo "\n${RED}If you don't have pytest or pdoc3 installed, you will need to install them globally or inside a virtualenv. This Makefile can build the venv for you, if you use 'make venv' followed by '. ./venv/bin/activate' and finally 'make prereqs'${RESET}\n"
venv: FORCE
python3 -m venv venv
prereqs: FORCE
pip install -r requirements.txt
FORCE: