-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·36 lines (30 loc) · 964 Bytes
/
build.sh
File metadata and controls
executable file
·36 lines (30 loc) · 964 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
#!/bin/bash
set -e
# ---------------------------
# Cleanup Code (Unchanged)
# ---------------------------
echo "Starting build process..."
rm -rf build/ dist/ */**/*.egg-info OpenVPCal.spec
echo "Cleanup complete."
# ---------------------------
# Remove existing uv environment directory (if applicable)
# ---------------------------
echo "Removing existing uv environment..."
rm -rf .uv .venv # or the specific directory uv uses
# ---------------------------
# Build Environment with uv
# ---------------------------
echo "Building environment with uv..."
uv build
# ---------------------------
# Run the compile.py script using uv
# ---------------------------
echo "Running compile.py using uv..."
uv run python compile.py
echo "Build process finished successfully."
# ---------------------------
# Cleanup Code (Unchanged)
# ---------------------------
echo "Post build cleanup"
rm -rf build/ */**/*.egg-info OpenVPCal.spec
echo "Post Cleanup complete."