From d9c7f6206f2bfdf491acdbaf16c02cbf27f0593d Mon Sep 17 00:00:00 2001 From: siddharth Date: Sun, 27 Jun 2021 00:42:36 -0400 Subject: Makefile: add venv (phony target) --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d28abce..f7fbe4e 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,17 @@ # # Copyright © 2020 rsiddharth # +VENV_DIR=.venv +VENV=virtualenv fmt: black acmens.py setup.py .PHONY: fmt +venv: + test -d ${VENV_DIR} || ${VENV} --python=python3 ${VENV_DIR} +.PHONY: venv + develop: @python3 setup.py develop @pip install -U pip black twine -- cgit v1.2.3