Skip to content

Commit

Permalink
#4100 show disk usage during build
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 13, 2024
1 parent 711fd75 commit ea28288
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions packaging/MSWindows/BUILD.sh
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,12 @@ if [ "${DO_VERPATCH}" == "1" ]; then
fi
fi


echo
echo "installation disk usage:"
du -sm "${DIST}"
echo

################################################################################
# packaging: ZIP / EXE / MSI

Expand All @@ -635,7 +641,9 @@ if [ "${DO_ZIP}" == "1" ]; then
mkdir "${ZIP_DIR}"
rsync -rplogt "${DIST}"/* "${ZIP_DIR}"
zip -9qmr "${ZIP_FILENAME}" "${ZIP_DIR}"
ls -la "${ZIP_FILENAME}"
echo
du -sm "${ZIP_FILENAME}"
echo
fi

if [ "${DO_INSTALLER}" == "1" ]; then
Expand Down Expand Up @@ -687,7 +695,9 @@ if [ "${DO_INSTALLER}" == "1" ]; then
cat ${SIGNTOOL_LOG}
fi
fi
ls -la "${INSTALLER_FILENAME}"
echo
du -sm "${INSTALLER_FILENAME}"
echo

if [ "${RUN_INSTALLER}" == "1" ]; then
echo "* Finished - running the new installer"
Expand Down Expand Up @@ -722,4 +732,7 @@ if [ "${DO_MSI}" == "1" ]; then
cat ${SIGNTOOL_LOG}
fi
fi
echo
du -sm "${MSI_FILENAME}"
echo
fi

0 comments on commit ea28288

Please sign in to comment.