Skip to content

Commit

Permalink
Updating script to block when v1.2 raytracing binaries aren't availab…
Browse files Browse the repository at this point in the history
…le (#371)
  • Loading branch information
wallisc authored and Christopher Wallis committed May 18, 2018
1 parent eb89b64 commit 9d8eacb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Samples/Desktop/D3D12Raytracing/tools/x64/PrebuildCheck.bat
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ if not exist version.txt (
)

set /p version=< version.txt
if not "%version%"=="1.1-dxr" (
if not "%version%"=="1.2-dxr" (
goto :mismatch
)

exit

:mismatch
echo Stale binaries detected, please grab the v1.1-dxr binaries from https://github.com/Microsoft/DirectX-Graphics-Samples/releases
echo Stale binaries detected, please grab the v1.2-dxr binaries from https://github.com/Microsoft/DirectX-Graphics-Samples/releases/tag/v1.2-dxr
echo Copy all the binaries to Samples\Desktop\D3D12Raytracing\tools\x64"
exit /b 1
)

0 comments on commit 9d8eacb

Please sign in to comment.