First commit

This commit is contained in:
P-A
2026-03-28 21:49:58 +01:00
parent b4eb275d62
commit b903b27890
196 changed files with 5623 additions and 2 deletions

29
build.sh Normal file
View File

@@ -0,0 +1,29 @@
# Build script for local development
#!/bin/bash
set -e
echo "🏗️ Building Homework Backend..."
# Clean previous builds
echo "🧹 Cleaning previous builds..."
dotnet clean
# Restore dependencies
echo "📦 Restoring dependencies..."
dotnet restore
# Build the application
echo "🔨 Building application..."
dotnet build --configuration Release --no-restore
# Run tests
echo "🧪 Running tests..."
dotnet test --configuration Release --no-build --verbosity normal
# Publish the application
echo "📤 Publishing application..."
dotnet publish Homework/Homework.csproj --configuration Release --output ./publish --no-build
echo "✅ Build completed successfully!"
echo "📁 Published files are in ./publish directory"