fetch ICSharpCode.SharpZipLib from nuget

This commit is contained in:
Matthias Mailänder
2014-12-26 14:43:35 +01:00
parent 0a68db5dfa
commit 6c855cdb8a
5 changed files with 17 additions and 5 deletions

1
.gitignore vendored
View File

@@ -23,6 +23,7 @@ mods/*/*.mdb
/*.mdb
/*.exe
thirdparty/StyleCop*
thirdparty/ICSharpCode.SharpZipLib.dll*
# backup files by various editors
*~

Binary file not shown.

5
thirdparty/README vendored
View File

@@ -10,11 +10,6 @@ FuzzyLogicLibrary.dll
Version 1.2.0
GPL v2.0 license
ICSharpCode.SharpZipLib.dll
http://icsharpcode.github.io/SharpZipLib/
Version 0.86
GPL 2.0 with GNU Classpath exception
MaxMind.Db.dll
MaxMind.GeoIP2.dll
Newtonsoft.Json.dll

View File

@@ -3,6 +3,7 @@ if (!(Test-Path "nuget.exe"))
echo "Fetching NuGet."
Invoke-WebRequest "http://nuget.org/nuget.exe" -OutFile "nuget.exe"
}
if (!(Test-Path "StyleCop.dll"))
{
echo "Fetching StyleCop files from NuGet."
@@ -10,3 +11,11 @@ if (!(Test-Path "StyleCop.dll"))
cp StyleCop.MSBuild.4.7.49.0/tools/StyleCop*.dll .
rmdir StyleCop.MSBuild.4.7.49.0 -Recurse
}
if (!(Test-Path "ICSharpCode.SharpZipLib.dll"))
{
echo "Fetching ICSharpCode.SharpZipLib from NuGet."
./nuget.exe install SharpZipLib -Version 0.86.0
cp SharpZipLib.0.86.0/lib/20/ICSharpCode.SharpZipLib.dll .
rmdir SharpZipLib.0.86.0 -Recurse
}

View File

@@ -4,4 +4,11 @@ if [ ! -f StyleCop.dll ]; then
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