Skip to content

Commit

Permalink
check if uv is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
royjr committed Dec 9, 2024
1 parent cc30feb commit 2300a78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR

# check if uv is installed
if ! command -v uv &>/dev/null; then
echo "'uv' is not installed. Installing 'uv'..."
pip install uv
fi

# ensure we're up to date
uv sync --all-extras
source .venv/bin/activate
Expand Down

0 comments on commit 2300a78

Please sign in to comment.