From 6189a5ba11c1aca1fa5252ca05aeaa2c3723f7ff Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sun, 15 Aug 2021 19:10:20 +0000 Subject: [PATCH] logging improvements --- dist/remote-builder/handleCaching.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dist/remote-builder/handleCaching.sh b/dist/remote-builder/handleCaching.sh index aa16d616..b0135445 100755 --- a/dist/remote-builder/handleCaching.sh +++ b/dist/remote-builder/handleCaching.sh @@ -12,6 +12,8 @@ libraryCacheFolder="$cacheFolderFull/$branch/lib" mkdir -p "$lfsCacheFolder" mkdir -p "$libraryCacheFolder" +echo 'Library Caching' + # if the unity git project has included the library delete it and echo a warning if [ -d "$libraryFolderFull" ]; then rm -r "$libraryFolderFull" @@ -28,6 +30,10 @@ if [ -z "$libraryCacheFolder/$latestLibraryCacheFile" ]; then unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull" fi +echo ' ' + +echo 'Large File Caching' + echo "Checking large file cache exists ($lfsCacheFolder/$LFS_ASSETS_HASH.zip)" if [ -f "$lfsCacheFolder/$LFS_ASSETS_HASH.zip" ]; then echo "Match found: using large file hash match $LFS_ASSETS_HASH.zip" @@ -50,13 +56,13 @@ fi echo ' ' echo "LFS cache for $branch" du -sch "$lfsCacheFolder" -echo ' ' +echo '**' echo "Library cache for $branch" du -sch "$libraryCacheFolder" -echo ' ' +echo '**' echo "Branch: $branch" du -sch "$cacheFolderWithBranch" -echo ' ' +echo '**' echo 'Full cache' du -sch "$cacheFolderFull" echo ' '