mirror of
https://github.com/commaai/opendbc.git
synced 2026-06-08 06:04:45 +08:00
check if uv is installed (#1565)
* check if uv is installed * Update test.sh --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
This commit is contained in:
6
test.sh
6
test.sh
@@ -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'..."
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
fi
|
||||
|
||||
# ensure we're up to date
|
||||
uv sync --all-extras
|
||||
source .venv/bin/activate
|
||||
|
||||
Reference in New Issue
Block a user