stage build config

This commit is contained in:
Merith 2025-02-28 11:08:07 -08:00
parent 2b9430101e
commit b69a6ae4a1
3 changed files with 5966 additions and 0 deletions

View file

@ -15,6 +15,12 @@
<ApplicationIcon>App.ico</ApplicationIcon>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Compile Remove="ControlAppMonolith.cs" />
</ItemGroup>
<ItemGroup>
<None Include="ControlAppMonolith.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="9.0.0" />
</ItemGroup>

5934
ControlAppMonolith.cs Normal file

File diff suppressed because it is too large Load diff

26
merge.cs.sh Normal file
View file

@ -0,0 +1,26 @@
#!/bin/bash
# Output file
output_file="ControlAppMonolith.cs"
# Clear the output file if it already exists
> "$output_file"
# Find all .cs files in the ./ControlApp directory
files=$(find ./ControlApp -name "*.cs")
# Extract and deduplicate using directives
using_directives=$(grep -h "^using" $files | sort | uniq)
# Write the using directives to the output file
echo "$using_directives" >> "$output_file"
echo -e "\n" >> "$output_file"
# Combine all .cs files, excluding using directives
for file in $files; do
echo "// File: $file" >> "$output_file"
grep -v "^using" "$file" >> "$output_file"
echo -e "\n" >> "$output_file"
done
echo "All .cs files have been combined into $output_file"