logging improvements

pull/289/head
Frostebite 2021-08-15 19:10:20 +00:00 committed by GitHub
parent 77120540c8
commit 6189a5ba11
1 changed files with 9 additions and 3 deletions

View File

@ -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 ' '