add dev targets to makefile (#252)

fixes #251
This commit is contained in:
classabbyamp 2020-09-27 16:52:37 -04:00 committed by GitHub
parent 488ae6cc98
commit be042a9641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -71,6 +71,17 @@ clean:
### Dev targets ###
.PHONY: dev-install
dev-install: $(BOTENV)/dev_req_done data/options.py data/keys.py
# Installing dev requirements
$(BOTENV)/dev_req_done: dev-requirements.txt $(BOTENV)/success
@echo "\033[34;1m--> Installing the dependencies...\033[0m"
@. $(BOTENV)/bin/activate; \
pip install ${PIP_OUTPUT} -U pip setuptools wheel; \
pip install ${PIP_OUTPUT} -U -r dev-requirements.txt
@touch $(BOTENV)/dev_req_done
### Special targets ###