#!/usr/bin/env bash
# mise description="Bootstrap project"
#
# Originates from https://github.com/level12/coppy
#
# Consider updating the source file in that repo with enhancements or bug fixes needed.
set -e

echo 'UV_PROJECT_ENVIRONMENT:' $UV_PROJECT_ENVIRONMENT
echo 'VIRTUAL_ENV:' $VIRTUAL_ENV
echo 'PATH:' $PATH
git init
uv sync
pre-commit install
pre-commit autoupdate
ruff check --fix
ruff format
git add .
git commit -m 'initial commit after coppy generation'
