[RELEASE_ENGINEERING]

Get all optional files from a dedicated "optional" folder on svn.reactos.org and check that the mandatory files exist.
This should ensure that we never ship without a CJK font again.

Thanks to Katayama Hirofumi MZ for reporting!

svn path=/trunk/Release_Engineering/; revision=2339
This commit is contained in:
Colin Finck 2017-05-23 07:27:20 +00:00
parent 5995c2abaf
commit d2cc134a83

View File

@ -31,11 +31,14 @@ svn co "https://svn.reactos.org/reactos/branches/${branch_name}/reactos" "${WORK
svn co "https://svn.reactos.org/reactos/branches/${branch_name}/rosapps" "${WORKDIR}/modules/rosapps" || exit 1
svn co "https://svn.reactos.org/reactos/branches/${branch_name}/wallpapers" "${WORKDIR}/modules/wallpapers" || exit 1
# Create an "optional" folder and fill it with all files we may distribute.
# Currently, this is only the wine_gecko package. Just download all wine_gecko packages and the reactos.dff.in will pick the right one.
# Download the "optional" folder from svn.reactos.org
mkdir "${WORKDIR}/modules/optional" || exit 1
cd "${WORKDIR}/modules/optional" || exit 1
wget --recursive --level=1 --no-directories --no-parent --execute robots=off "https://svn.reactos.org/amine" -A "wine_gecko*.msi" || exit 1
wget --recursive --level=1 --no-directories --no-parent --execute robots=off "https://svn.reactos.org/optional" || exit 1
# Check that all mandatory files exist in the "optional" folder.
test -f "DroidSansFallback.ttf" || (echo "DroidSansFallback CJK font missing!" && exit 1)
test -f "wine_gecko*.msi" || (echo "wine_gecko MSI package missing!" && exit 1)
# Build ReactOS
cd "${WORKDIR}" || exit 1