1
0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-02 00:42:53 +01:00
SpaceCadetPinball/CompileAndPackage.ps1
Muzychenko Andrey ed0ef9044d Bumped version to 1.2.
Added automated release script.
2021-12-19 14:42:52 +03:00

15 lines
1.4 KiB
PowerShell

# ARM and Windows XP build tools are optional VS components
msbuild /t:Build /p:Configuration=Release /p:Platform=x86 /v:m SpaceCadetPinball.sln
msbuild /t:Build /p:Configuration=Release /p:Platform=x64 /v:m SpaceCadetPinball.sln
msbuild /t:Build /p:Configuration=ReleaseWinXP /p:Platform=x86 /v:m SpaceCadetPinball.sln
msbuild /t:Build /p:Configuration=ReleaseWinXP /p:Platform=x64 /v:m SpaceCadetPinball.sln
msbuild /t:Build /p:Configuration=Release /p:Platform=ARM /v:m SpaceCadetPinball.sln
msbuild /t:Build /p:Configuration=Release /p:Platform=ARM64 /v:m SpaceCadetPinball.sln
Compress-Archive -Path ".\Win32\Release\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballx86.zip" -Force
Compress-Archive -Path ".\x64\Release\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballx64.zip" -Force
Compress-Archive -Path ".\Win32\ReleaseWinXP\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballx86WinXp.zip" -Force
Compress-Archive -Path ".\x64\ReleaseWinXP\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballx64WinXp.zip" -Force
Compress-Archive -Path ".\ARM\Release\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballARM.zip" -Force
Compress-Archive -Path ".\ARM64\Release\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballARM64.zip" -Force