-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.bat
More file actions
36 lines (28 loc) · 695 Bytes
/
build.bat
File metadata and controls
36 lines (28 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
if exist "Win32" (
echo Borrando directorio Win32
rmdir Win32 /s/ q
)
if exist "Win64" (
echo Borrando directorio Win32
rmdir Win64 /s/ q
)
echo Estableciendo variables de entorno
call "c:\Program Files (x86)\Embarcadero\Studio\21.0\bin\rsvars.bat"
echo Compilando
msbuild /t:clean /t:build /p:Config=Release;Platform=Win32 vicyne.dproj
if exist .\Win32\Release\vicyne.exe (goto L1)
echo "Error compiling"
pause
exit
:L1
echo --------------------
echo Comprimiendo
echo --------------------
upx.exe Win32\Release\vicyne.exe
cd Win32\Release
echo --------------------
echo Zipping
echo --------------------
"C:\Program Files\7-Zip\7z.exe" a vicyne.zip vicyne.exe
pause