Add uv tool

This commit is contained in:
Martin Blazik
2024-09-11 09:52:45 +02:00
parent 71486cfdf8
commit 60a46ca129
2 changed files with 9 additions and 1 deletions

8
install/uv.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -E -o errexit -o nounset -o pipefail
set -x
curl -LsSf https://astral.sh/uv/install.sh | sh
source "$HOME/.cargo/env"
uv --version

View File

@@ -1,3 +1,3 @@
if [[ -d "$HOME/.cargo/env" ]]; then
if [[ -f "$HOME/.cargo/env" ]]; then
source "$HOME/.cargo/env"
fi