This commit is contained in:
lubiana 2025-07-28 19:54:33 +02:00
commit ad8c238e78
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
53 changed files with 10091 additions and 0 deletions

29
build.sh Executable file
View file

@ -0,0 +1,29 @@
#!/bin/bash
# Build script for GoCheck
echo "🏗️ Building GoCheck..."
# Build frontend
echo "📦 Building frontend..."
cd frontend
npm install
npm run build
cd ..
# Copy frontend dist to backend for embedding
echo "📋 Copying frontend dist to backend..."
rm -rf backend/frontend
mkdir -p backend/frontend
cp -r frontend/dist backend/frontend/
# Build backend
echo "🔨 Building backend..."
cd backend
go build -o gocheck
cd ..
# Move binary to root
mv backend/gocheck .
echo "✅ Build complete! Binary is at ./gocheck"