Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,15 @@ install-uv: ## Ensure uv is installed
echo "uv is already installed."; \
fi

setup-venv: ## Create virtual environment
uv venv $(PYTHON_ARG)
setup-venv: ## Create virtual environment (if not exists)
Comment thread
kevinjqliu marked this conversation as resolved.
Outdated
@if [ ! -d ".venv" ]; then \
Comment thread
kevinjqliu marked this conversation as resolved.
Outdated
uv venv $(PYTHON_ARG); \
else \
echo "Virtual environment already exists at .venv"; \
fi

install-dependencies: setup-venv ## Install all dependencies including extras
uv sync $(PYTHON_ARG) --all-extras --reinstall
uv sync $(PYTHON_ARG) --all-extras
Comment thread
kevinjqliu marked this conversation as resolved.

install-hooks: ## Install pre-commit hooks
uv run $(PYTHON_ARG) prek install
Expand Down