Drop Maxmind.GeoIP and Newtonsoft.Json dependencies
This commit is contained in:
10
thirdparty/fetch-thirdparty-deps.ps1
vendored
10
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -35,16 +35,12 @@ if (!(Test-Path "ICSharpCode.SharpZipLib.dll"))
|
||||
rmdir SharpZipLib -Recurse
|
||||
}
|
||||
|
||||
if (!(Test-Path "MaxMind.GeoIP2.dll"))
|
||||
if (!(Test-Path "MaxMind.Db.dll"))
|
||||
{
|
||||
echo "Fetching MaxMind.GeoIP2 from NuGet."
|
||||
./nuget.exe install MaxMind.GeoIP2 -Version 2.6.0 -ExcludeVersion
|
||||
echo "Fetching MaxMind.Db from NuGet."
|
||||
./nuget.exe install MaxMind.Db -Version 2.0.0 -ExcludeVersion
|
||||
cp MaxMind.Db/lib/net45/MaxMind.Db.* .
|
||||
rmdir MaxMind.Db -Recurse
|
||||
cp MaxMind.GeoIP2/lib/net45/MaxMind.GeoIP2* .
|
||||
rmdir MaxMind.GeoIP2 -Recurse
|
||||
cp Newtonsoft.Json/lib/net45/Newtonsoft.Json* .
|
||||
rmdir Newtonsoft.Json -Recurse
|
||||
}
|
||||
|
||||
if (!(Test-Path "SharpFont.dll"))
|
||||
|
||||
12
thirdparty/fetch-thirdparty-deps.sh
vendored
12
thirdparty/fetch-thirdparty-deps.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user