#!/bin/bash # Prepares the build environment by copying nuget.config to all submodules # This is required for both local docker-compose builds and CI/CD set -e echo "📦 Copying nuget.config to all submodules..." for submodule in telegram-client telegram-listener text-matcher users; do if [ -d "$submodule" ]; then cp nuget.config "$submodule/" echo "✓ Copied to $submodule/" fi done echo "✅ Build preparation complete!"