#!/bin/bash
/bin/echo "$0 - Building all containers [$(pwd)]"
echo "USER: $UID"

echo "Will build:"
/bin/find ./ -type f -name "*.csproj" | while read line; do
  solution=$(echo "$line" | cut -f 2 -d '/')
  project=$(echo "$line" | cut -f 3 -d '/')
  echo "[$solution]:[$project]"
done


/bin/find ./ -type f -name "*.csproj" | while read line; do
  solution=$(echo "$line" | cut -f 2 -d '/')
  project=$(echo "$line" | cut -f 3 -d '/')
  echo "Building  [$solution] [$project]"
  shellscripts/DotDockerbuilder8.sh --solution $solution --project $project
done

