From be042a9641d8804ccf1aaadaca414920e375f156 Mon Sep 17 00:00:00 2001 From: classabbyamp <5366828+classabbyamp@users.noreply.github.com> Date: Sun, 27 Sep 2020 16:52:37 -0400 Subject: [PATCH] add dev targets to makefile (#252) fixes #251 --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index cf468e1..62be00f 100644 --- a/Makefile +++ b/Makefile @@ -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 ###