Skip to content

Commit 9646121

Browse files
committed
fix build venv
1 parent 8bd7c29 commit 9646121

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
build:
22
bash -c "source .venv/bin/activate && ./build.sh"
3+
34
install:
45
uv sync
56

build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bash
2-
# скачиваем uv
2+
set -e
3+
4+
# Активируем виртуальное окружение (если оно в .venv)
5+
source .venv/bin/activate
6+
37
curl -LsSf https://astral.sh/uv/install.sh | sh
48
source $HOME/.local/bin/env
59

0 commit comments

Comments
 (0)