Skip to content

Commit

Permalink
AppVeyor: Changed default engine folder to bin
Browse files Browse the repository at this point in the history
New build package script
  • Loading branch information
Xottab-DUTY committed May 26, 2018
1 parent a745819 commit e9baff9
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 80 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build:
parallel: true
verbosity: minimal
after_build:
- cmd: xrbuild.cmd
- cmd: xr_pack_build.cmd
test: off
artifacts:
- path: res/OpenXRay.Dx86.7z
Expand Down
57 changes: 57 additions & 0 deletions xr_pack_build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
md res\bin\

if %CONFIGURATION%==Debug if %PLATFORM%==x86 goto :DX86
if %CONFIGURATION%==Debug if %PLATFORM%==x64 goto :DX64
if %CONFIGURATION%==Mixed if %PLATFORM%==x86 goto :MX86
if %CONFIGURATION%==Mixed if %PLATFORM%==x64 goto :MX64
if %CONFIGURATION%==Release if %PLATFORM%==x86 goto :RX86
if %CONFIGURATION%==Release if %PLATFORM%==x64 goto :RX64

echo ! Unknown configuration and/or platform
goto :EOF

:DX86
cd bin\Win32\Debug
call :PACK
7z a OpenXRay.Dx86.7z .\*
goto :EOF

:DX64
cd bin\Win64\Debug
call :PACK
7z a OpenXRay.Dx64.7z .\*
goto :EOF

:MX86
cd bin\Win32\Mixed
call :PACK
7z a OpenXRay.Mx86.7z .\*
goto :EOF

:MX64
cd bin\Win64\Mixed
call :PACK
7z a OpenXRay.Mx64.7z .\*
goto :EOF

:RX86
cd bin\Win32\Release
call :PACK
7z a OpenXRay.Rx86.7z .\*
goto :EOF

:RX64
cd bin\Win64\Release
call :PACK
7z a OpenXRay.Rx64.7z .\*
goto :EOF

:PACK
copy *.dll ..\..\..\res\bin\
copy *.exe ..\..\..\res\bin\
cd ..\..\..\
copy Licence.txt .\res\
copy README.md .\res\
cd res\
goto :EOF

79 changes: 0 additions & 79 deletions xrbuild.cmd

This file was deleted.

0 comments on commit e9baff9

Please sign in to comment.