-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpostCreateCommand.sh
More file actions
37 lines (31 loc) · 965 Bytes
/
postCreateCommand.sh
File metadata and controls
37 lines (31 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
# postCreateCommand.sh - Devcontainer post-create setup
set -e
echo ""
echo "============================================"
echo "Devcontainer Post-Create Setup"
echo "============================================"
echo ""
# Install uv if not already installed
if command -v uv &>/dev/null; then
echo "uv is already installed: $(uv --version)"
else
echo "Installing uv..."
curl -LsSf https://astral.sh/uv/install.sh | sh
# Add uv to PATH for this session
export PATH="$HOME/.local/bin:$PATH"
fi
# Sync Python dependencies
echo ""
echo "Syncing Python dependencies..."
uv sync
echo ""
echo "============================================"
echo "Setup completed successfully!"
echo "============================================"
echo ""
echo "You can now run:"
echo " ./scripts/build.sh - Full build"
echo " ./scripts/build_doc.sh - Build documentation only"
echo " ./scripts/build_app.sh - Build C++ project only"
echo ""