File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ .PHONY : install-uv up down
2+
3+ install-uv :
4+ @echo " Installing Astral UV..."
5+ @if command -v curl > /dev/null 2>&1 ; then \
6+ curl -LsSf https://astral.sh/uv/install.sh | sh; \
7+ elif command -v wget > /dev/null 2>&1 ; then \
8+ wget -qO- https://astral.sh/uv/install.sh | sh; \
9+ else \
10+ echo " Error: Neither curl nor wget is available. Please install one of them." ; \
11+ exit 1; \
12+ fi
13+ @echo " Astral UV installed successfully."
14+
15+ check-uv :
16+ @uv --version || (echo " Astral UV is not installed or not in PATH" && exit 1)
17+
18+ sync :
19+ @uv sync
20+
21+ editable :
22+ @uv pip install -e .
23+
124up :
225 docker compose up -d --build
326
427down :
528 docker compose down --remove-orphans --rmi local --volumes
29+
30+ all : install-uv check-uv sync editable up
31+
32+ .DEFAULT_GOAL := up
You can’t perform that action at this time.
0 commit comments