Skip to content
Myr

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 file

Take it

Merge branch '3.1.x'David Lordbefore adoptionde61312

lines 1–2why, one step back
1#!/bin/bash
2set -e

Updated dependency management to uv (#2093)David Lordbefore adoption05f5d74

lines 3–16why, one step back
3
4# Install uv if not already installed5if ! command -v uv &> /dev/null; then6 echo "Installing uv..."7 curl -LsSf https://astral.sh/uv/install.sh | sh8 export PATH="$HOME/.cargo/bin:$PATH"9fi1011# Create venv using uv and install dependencies12echo "Creating virtual environment and installing dependencies..."13uv sync1415# Install pre-commit hooks16echo "Installing pre-commit hooks..."

Merge branch '3.1.x'David Lordbefore adoptionde61312

line 17why, one step back
17pre-commit install --install-hooks