Skip to content

Commit e9baff9

Browse files
committed
AppVeyor: Changed default engine folder to bin
New build package script
1 parent a745819 commit e9baff9

File tree

3 files changed

+58
-80
lines changed

3 files changed

+58
-80
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ build:
1919
parallel: true
2020
verbosity: minimal
2121
after_build:
22-
- cmd: xrbuild.cmd
22+
- cmd: xr_pack_build.cmd
2323
test: off
2424
artifacts:
2525
- path: res/OpenXRay.Dx86.7z

xr_pack_build.cmd

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
md res\bin\
2+
3+
if %CONFIGURATION%==Debug if %PLATFORM%==x86 goto :DX86
4+
if %CONFIGURATION%==Debug if %PLATFORM%==x64 goto :DX64
5+
if %CONFIGURATION%==Mixed if %PLATFORM%==x86 goto :MX86
6+
if %CONFIGURATION%==Mixed if %PLATFORM%==x64 goto :MX64
7+
if %CONFIGURATION%==Release if %PLATFORM%==x86 goto :RX86
8+
if %CONFIGURATION%==Release if %PLATFORM%==x64 goto :RX64
9+
10+
echo ! Unknown configuration and/or platform
11+
goto :EOF
12+
13+
:DX86
14+
cd bin\Win32\Debug
15+
call :PACK
16+
7z a OpenXRay.Dx86.7z .\*
17+
goto :EOF
18+
19+
:DX64
20+
cd bin\Win64\Debug
21+
call :PACK
22+
7z a OpenXRay.Dx64.7z .\*
23+
goto :EOF
24+
25+
:MX86
26+
cd bin\Win32\Mixed
27+
call :PACK
28+
7z a OpenXRay.Mx86.7z .\*
29+
goto :EOF
30+
31+
:MX64
32+
cd bin\Win64\Mixed
33+
call :PACK
34+
7z a OpenXRay.Mx64.7z .\*
35+
goto :EOF
36+
37+
:RX86
38+
cd bin\Win32\Release
39+
call :PACK
40+
7z a OpenXRay.Rx86.7z .\*
41+
goto :EOF
42+
43+
:RX64
44+
cd bin\Win64\Release
45+
call :PACK
46+
7z a OpenXRay.Rx64.7z .\*
47+
goto :EOF
48+
49+
:PACK
50+
copy *.dll ..\..\..\res\bin\
51+
copy *.exe ..\..\..\res\bin\
52+
cd ..\..\..\
53+
copy Licence.txt .\res\
54+
copy README.md .\res\
55+
cd res\
56+
goto :EOF
57+

xrbuild.cmd

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)