Summary
The user is looking for a way to copy multiple .csproj files from a directory structure without flattening it, referencing a C# example from a GitHub link. They have 20-30 .csproj files and are seeking a solution similar to COPY --dir-tree src/**/*.csproj src
, but found that using COPY --dir
flattened the structure, which was not useful.
chris.mcvittie
hey, I'm looking at the c# example here: https://github.com/earthly/earthly/blob/main/examples/dotnet/Earthfile#L7
I've 20-30 csproj files, is there a nice way to do something like?
COPY --dir-tree src/**/*.csproj src
I tried COPY --dir
but it flattened the structure which wasn't terribly useful