fetch SharpFont from nuget

This commit is contained in:
Matthias Mailänder
2014-12-26 15:00:11 +01:00
parent 13785ddabd
commit 9ad76f87d2
7 changed files with 21 additions and 12 deletions

2
.gitignore vendored
View File

@@ -27,6 +27,8 @@ thirdparty/ICSharpCode.SharpZipLib.dll*
thirdparty/MaxMind*
thirdparty/RestSharp*
thirdparty/Newtonsoft.Json*
thirdparty/SharpFont*
thirdparty/windows/freetype6.dll
# backup files by various editors
*~

5
thirdparty/README vendored
View File

@@ -24,8 +24,3 @@ SDL2-CS.dll
https://github.com/flibitijibibo/SDL2-CS/
Commit e8731efadb249a40f46d646e2b783ec588326ea6
zlib license
SharpFont.dll
https://github.com/Robmaister/SharpFont
Version 2.5.0.1
MIT license

Binary file not shown.

View File

@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<dllmap dll="freetype6.dll">
<dllentry os="linux" dll="libfreetype.so.6" />
<dllentry os="osx" dll="/Library/Frameworks/Mono.framework/Libraries/libfreetype.6.dylib" />
</dllmap>
</configuration>

View File

@@ -32,4 +32,14 @@ if (!(Test-Path "MaxMind.GeoIP2.dll"))
rmdir Newtonsoft.Json.6.0.5 -Recurse
cp RestSharp.105.0.0/lib/net4-client/RestSharp* .
rmdir RestSharp.105.0.0 -Recurse
}
if (!(Test-Path "SharpFont.dll"))
{
echo "Fetching SharpFont from NuGet."
./nuget.exe 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/
rmdir SharpFont.2.5.3.0 -Recurse
}

View File

@@ -24,4 +24,13 @@ if [ ! -f MaxMind.GeoIP2.dll ]; then
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

Binary file not shown.