Added a TEMPORARY workaround for packing NuGets...
- 77b034cbe7
- That commit changed the ‘version made by’ instead of the ‘version needed to extract.’
This commit is contained in:
Родитель
2af21eddb6
Коммит
441cacf017
|
@ -11,6 +11,10 @@ NUGET_EXE=$TOOLS_DIR/nuget.exe
|
||||||
XC_EXE=$TOOLS_DIR/xamarin-component.exe
|
XC_EXE=$TOOLS_DIR/xamarin-component.exe
|
||||||
CAKE_EXE=$TOOLS_DIR/Cake/Cake.exe
|
CAKE_EXE=$TOOLS_DIR/Cake/Cake.exe
|
||||||
|
|
||||||
|
# BEGIN TEMP WORKAROUND
|
||||||
|
SYSIOCOMP=$TOOLS_DIR/System.IO.Compression.dll
|
||||||
|
# END TEMP WORKAROUND
|
||||||
|
|
||||||
# Define default arguments.
|
# Define default arguments.
|
||||||
SCRIPT="build.cake"
|
SCRIPT="build.cake"
|
||||||
TARGET="Default"
|
TARGET="Default"
|
||||||
|
@ -61,6 +65,21 @@ if [ ! -f $XC_EXE ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# BEGIN TEMP WORKAROUND
|
||||||
|
# There is a bug in Mono's System.IO.Compression
|
||||||
|
# This binary fixes the bug for now
|
||||||
|
# Download System.IO.Compression if it does not exist.
|
||||||
|
if [ ! -f "$SYSIOCOMP" ]; then
|
||||||
|
echo "Downloading System.IO.Compression.dll (THIS SHOULD BE REMOVED) ..."
|
||||||
|
curl -Lsfo "$SYSIOCOMP" http://xamarin-components-binaries.s3.amazonaws.com/System.IO.Compression.dll
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "An error occured while downloading System.IO.Compression.dll."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# END TEMP WORKAROUND
|
||||||
|
|
||||||
|
|
||||||
# Restore tools from NuGet.
|
# Restore tools from NuGet.
|
||||||
pushd $TOOLS_DIR >/dev/null
|
pushd $TOOLS_DIR >/dev/null
|
||||||
mono $NUGET_EXE install -ExcludeVersion
|
mono $NUGET_EXE install -ExcludeVersion
|
||||||
|
|
Загрузка…
Ссылка в новой задаче