Files
OpenRA/thirdparty/fetch-thirdparty-deps.sh
Matthias Mailänder 02e1a8d5d2 fetch NUnit 2 from nuget
2014-12-26 15:40:06 +01:00

43 lines
1.4 KiB
Bash
Executable File

#!/bin/bash
if [ ! -f StyleCop.dll ]; then
echo "Fetching StyleCop files from nuget"
nuget install StyleCop.MSBuild -Version 4.7.49.0
cp ./StyleCop.MSBuild.4.7.49.0/tools/StyleCop*.dll .
rm -rf StyleCop.MSBuild.4.7.49.0
fi
if [ ! -f ICSharpCode.SharpZipLib.dll ]; then
echo "Fetching ICSharpCode.SharpZipLib from nuget"
nuget install SharpZipLib -Version 0.86.0
cp ./SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll .
rm -rf SharpZipLib.0.86.0
fi
if [ ! -f MaxMind.GeoIP2.dll ]; then
echo "Fetching MaxMind.GeoIP2 from nuget"
nuget install MaxMind.GeoIP2 -Version 2.1.0
cp ./MaxMind.Db.1.0.0.0/lib/net40/MaxMind.Db.* .
rm -rf MaxMind.Db.1.0.0.0
cp ./MaxMind.GeoIP2.2.1.0.0/lib/net40/MaxMind.GeoIP2* .
rm -rf MaxMind.GeoIP2.2.1.0.0
cp ./Newtonsoft.Json.6.0.5/lib/net40/Newtonsoft.Json* .
rm -rf Newtonsoft.Json.6.0.5
cp ./RestSharp.105.0.0/lib/net4-client/RestSharp* .
rm -rf RestSharp.105.0.0
fi
if [ ! -f SharpFont.dll ]; then
echo "Fetching SharpFont from nuget"
nuget install SharpFont -Version 2.5.3
cp ./SharpFont.2.5.3.0/lib/net20/SharpFont* .
cp ./SharpFont.2.5.3.0/Content/SharpFont.dll.config .
cp ./SharpFont.2.5.3.0/Content/freetype6.dll ./windows/
rm -rf SharpFont.2.5.3.0
fi
if [ ! -f nunit.framework.dll ]; then
echo "Fetching NUnit from nuget"
nuget install NUnit -Version 2.6.4
cp ./NUnit.2.6.4/lib/nunit.framework* .
rm -rf NUnit.2.6.4
fi