Drop Maxmind.GeoIP and Newtonsoft.Json dependencies

This commit is contained in:
Matthias Mailänder
2017-02-05 09:36:27 +01:00
parent b018c3d837
commit 13263f7bb2
8 changed files with 49 additions and 40 deletions

View File

@@ -47,17 +47,11 @@ if [ ! -f ICSharpCode.SharpZipLib.dll ]; then
rm -rf SharpZipLib
fi
if [ ! -f MaxMind.GeoIP2.dll ]; then
echo "Fetching MaxMind.GeoIP2 from NuGet"
get Newtonsoft.Json 8.0.3
get MaxMind.Db 2.0.0
get MaxMind.GeoIP2 2.6.0
if [ ! -f MaxMind.Db.dll ]; then
echo "Fetching MaxMind.Db from NuGet"
get MaxMind.Db 2.0.0 -IgnoreDependencies
cp ./MaxMind.Db/lib/net45/MaxMind.Db.* .
rm -rf MaxMind.Db
cp ./MaxMind.GeoIP2/lib/net45/MaxMind.GeoIP2* .
rm -rf MaxMind.GeoIP2
cp ./Newtonsoft.Json/lib/net45/Newtonsoft.Json* .
rm -rf Newtonsoft.Json
fi
if [ ! -f SharpFont.dll ]; then