on-create-command.sh
This file
Path
.devcontainer/on-create-command.sh
17 lines · 445 bytes · Shell
Last changed by
Updated dependency management to uv (#2093)David Lordbefore adoption05f5d74
History of this fileTake it
123456789101112131415161718#!/bin/bashset -e
# Install uv if not already installedif ! command -v uv &> /dev/null; then echo "Installing uv..." curl -LsSf https://astral.sh/uv/install.sh | sh export PATH="$HOME/.cargo/bin:$PATH"fi
# Create venv using uv and install dependenciesecho "Creating virtual environment and installing dependencies..."uv sync
# Install pre-commit hooksecho "Installing pre-commit hooks..."pre-commit install --install-hooks