Skip to content

Commit

Permalink
Merge pull request #359 from HubSpot/feature/update-makefile
Browse files Browse the repository at this point in the history
update Makefile
  • Loading branch information
alzheltkovskiy-hubspot authored Nov 18, 2024
2 parents 77beb38 + bd1dc42 commit 9a93a90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
VENV_NAME?=venv
VENV_NAME ?= venv

venv: $(VENV_NAME)/bin/activate

$(VENV_NAME)/bin/activate: setup.py
pip3 install --upgrade pip virtualenv
@test -d $(VENV_NAME) || python3 -m virtualenv --clear $(VENV_NAME)
${VENV_NAME}/bin/python -m pip install -e .[dev]
@test -d $(VENV_NAME) || python3 -m venv $(VENV_NAME)
@${VENV_NAME}/bin/python -m pip install --upgrade pip
@${VENV_NAME}/bin/python -m pip install -e .[dev]
@touch $(VENV_NAME)/bin/activate

test: venv
Expand Down

0 comments on commit 9a93a90

Please sign in to comment.