Use MSBuild to create empty dirs in output

This commit is contained in:
James Groom 2024-04-04 00:17:32 +00:00 committed by YoshiRulz
parent bb110d4f5e
commit 732661a572
4 changed files with 1 additions and 1 deletions

View File

View File

@ -8,7 +8,6 @@ find "output" -type f \( -wholename "output/EmuHawk.exe" -o -wholename "output/D
-not -wholename "output/dll/*.xml" -not -wholename "output/dll/libsneshawk-64*.exe" -not -wholename "output/dll/gpgx.elf" -not -wholename "output/dll/miniclient.*" \
-exec install -D -m644 "{}" "packaged_{}" \;
cd "$targetDir"
mkdir "Firmware"
if [ "$1" = "windows-x64" ]; then
rm -f "EmuHawkMono.sh"
cd "dll"

View File

@ -20,5 +20,6 @@
</ItemGroup>
<Move Condition=" $(IsTargetingNetFramework) " SourceFiles="@(NotExecFilesFromExecProj)" DestinationFolder="$(OutputPath)dll/" />
<Move SourceFiles="@(ExecutableAndConfigFromExecProj)" DestinationFiles="@(ExecutableAndConfigFromExecProj->Replace($(MSBuildProjectName), $(ProjectNameTail)))" /> <!-- keep assembly name as e.g. `BizHawk.Client.EmuHawk`, but rename file to simply `EmuHawk.exe` as we've been doing -->
<MakeDir Directories="$(OutputPath)ExternalTools;$(OutputPath)Firmware;$(OutputPath)Tools" />
</Target>
</Project>