mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-05-29 16:39:45 +00:00
28 lines
493 B
Bash
Executable File
28 lines
493 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "=== Building OlcRTC ==="
|
|
echo ""
|
|
|
|
# Build olcrtc binary
|
|
echo "[1/2] Building olcrtc binary..."
|
|
cd "$(dirname "$0")"
|
|
go build -o olcrtc ./cmd/olcrtc/main.go
|
|
echo "✓ olcrtc binary built: ./olcrtc"
|
|
|
|
# Build UI binary
|
|
echo ""
|
|
echo "[2/2] Building UI binary..."
|
|
cd ui
|
|
go build -o olcrtc-ui .
|
|
mv olcrtc-ui ../olcrtc-ui
|
|
cd ..
|
|
echo "✓ UI binary built: ./olcrtc-ui"
|
|
|
|
echo ""
|
|
echo "=== Build Complete ==="
|
|
echo "Binaries ready:"
|
|
echo " - ./olcrtc"
|
|
echo " - ./olcrtc-ui"
|