-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94b26e7
commit 80e99f3
Showing
3 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,34 @@ | ||
call "%ProgramFiles(x86)%\Embarcadero\RAD Studio\9.0\bin\rsvars.bat" | ||
|
||
del ..\Win32\AriaNg.exe | ||
msbuild ..\..\Source\AriaNg.dproj /target:Build /p:config=Release /p:platform=Win32 /nologo | ||
IF NOT EXIST ..\Win32\AriaNg.exe goto Error1 | ||
|
||
del ..\Win64\AriaNg.exe | ||
msbuild ..\..\Source\AriaNg.dproj /target:Build /p:config=Release /p:platform=Win64 /nologo | ||
IF NOT EXIST ..\Win64\AriaNg.exe goto Error1 | ||
|
||
del /q AriaNgWke-Win32.7z | ||
7za a AriaNgWke-Win32.7z ..\Win32\AriaNg.exe ..\Win32\Wke.dll | ||
IF NOT EXIST AriaNgWke-Win32.7z goto Error2 | ||
|
||
del /q AriaNgWke-Win64.7z | ||
7za a AriaNgWke-Win64.7z ..\Win64\AriaNg.exe ..\Win64\Wke.dll | ||
IF NOT EXIST AriaNgWke-Win64.7z goto Error2 | ||
|
||
goto End | ||
|
||
:Error1 | ||
color 04 | ||
echo Compile Error! | ||
goto End | ||
|
||
7za a AriaNgWke-Win32.7z ..\Win32\*.* | ||
7za a AriaNgWke-Win64.7z ..\Win64\*.* | ||
:Error2 | ||
color 04 | ||
echo Pack Error! | ||
goto End | ||
|
||
:End | ||
color 0a | ||
echo Build Done! | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.