Skip to content

Commit

Permalink
Updated prebuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineConffx committed Feb 2, 2024
1 parent cb6cac9 commit 1b0e810
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions PRE_BUILD.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ echo Pulling Art Assets
echo Unzipping Art Assets...
"Tools/7z" x %filename% -y > NUL

:: Copy ZipFiles to the right location as they're big to be committed without lfs
if exist "Art/ZipFilesDds" (
move /Y "Art/ZipFilesDds" "Examples_3/Unit_Tests/UnitTestResources"
)
if exist "Art/ZipFilesKtx" (
move /Y "Art/ZipFilesKtx" "Examples_3/Unit_Tests/UnitTestResources"
)

echo Finishing up...
del %filename%

Expand Down
6 changes: 6 additions & 0 deletions PRE_BUILD.command
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ curl -L -o $filename http://www.conffx.com/$filename
unzip -o $filename

# rsync --remove-source-files -a "./Art/PBR/" "./Examples_3/Unit_Tests/UnitTestResources/Textures/PBR"
if [ -d "Art/ZipFilesDds" ]; then
mv -f "Art/ZipFilesDds" "Examples_3/Unit_Tests/UnitTestResources"
fi
if [ -d "Art/ZipFilesKtx" ]; then
mv -f "Art/ZipFilesKtx" "Examples_3/Unit_Tests/UnitTestResources"
fi

rm $filename

Expand Down

0 comments on commit 1b0e810

Please sign in to comment.