Add uv tool

This commit is contained in:
Martin Blazik
2024-09-11 10:07:49 +02:00
parent 71486cfdf8
commit 60a46ca129
2 changed files with 9 additions and 1 deletions
Executable
+8
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
+1 -1
View File
@@ -1,3 +1,3 @@
if [[ -d "$HOME/.cargo/env" ]]; then if [[ -f "$HOME/.cargo/env" ]]; then
source "$HOME/.cargo/env" source "$HOME/.cargo/env"
fi fi