Merge pull request #8428 from moviuro/silent-get-function
thirdparty/fetch-thirdparty-deps.sh: silence the nuget check
This commit is contained in:
11
thirdparty/fetch-thirdparty-deps.sh
vendored
11
thirdparty/fetch-thirdparty-deps.sh
vendored
@@ -13,14 +13,17 @@ download_dir="${0%/*}/download"
|
|||||||
mkdir -p "${download_dir}"
|
mkdir -p "${download_dir}"
|
||||||
cd "${download_dir}"
|
cd "${download_dir}"
|
||||||
|
|
||||||
|
if which nuget >/dev/null 2>&1; then
|
||||||
get()
|
get()
|
||||||
{
|
{
|
||||||
if which nuget >/dev/null; then
|
|
||||||
nuget install $1 -Version $2 -ExcludeVersion
|
nuget install $1 -Version $2 -ExcludeVersion
|
||||||
else
|
|
||||||
../noget.sh $1 $2
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
get()
|
||||||
|
{
|
||||||
|
../noget.sh $1 $2
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f StyleCopPlus.dll ]; then
|
if [ ! -f StyleCopPlus.dll ]; then
|
||||||
echo "Fetching StyleCopPlus from NuGet"
|
echo "Fetching StyleCopPlus from NuGet"
|
||||||
|
|||||||
Reference in New Issue
Block a user