Skip to content

Commit

Permalink
[FIX] fixes environment setup being done in different shells
Browse files Browse the repository at this point in the history
stllfe committed Aug 23, 2023
1 parent 5337f64 commit cf952f5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -48,11 +48,12 @@ opt:

.ONESHELL:
venv:
@python -m venv $(VENV) && source $(PKGS)/activate
@pip install --upgrade pip setuptools wheel
@pip install -e .
@pre-commit install
@pytest --fixtures --collect-only &> /dev/null
@python -m venv $(VENV)
@source $(PKGS)/activate && \
pip install --upgrade pip setuptools wheel && \
pip install -e . && \
pre-commit install && \
pytest --fixtures --collect-only &> /dev/null
@echo '✓ Python virtual environment initialized sucessfully!'

.PHONY: clean

0 comments on commit cf952f5

Please sign in to comment.