add support for StyleCop+

This commit is contained in:
Matthias Mailänder
2015-01-25 18:17:40 +01:00
parent a38a1918dc
commit 93c4be6f7a
3 changed files with 50 additions and 0 deletions

View File

@@ -9,6 +9,14 @@ if (!(Test-Path "nuget.exe"))
(New-Object System.Net.WebClient).DownloadFile("http://nuget.org/nuget.exe", $target)
}
if (!(Test-Path "StyleCopPlus.dll"))
{
echo "Fetching StyleCopPlus from NuGet."
./nuget.exe install StyleCopPlus.MSBuild -Version 4.7.49.5
cp StyleCopPlus.MSBuild.4.7.49.5/tools/StyleCopPlus.dll .
rmdir StyleCopPlus.MSBuild.4.7.49.5 -Recurse
}
if (!(Test-Path "StyleCop.dll"))
{
echo "Fetching StyleCop files from NuGet."

View File

@@ -3,6 +3,13 @@
# Die on any error for Travis CI to automatically retry:
set -e
if [ ! -f StyleCopPlus.dll ]; then
echo "Fetching StyleCopPlus from nuget"
nuget install StyleCopPlus.MSBuild -Version 4.7.49.5
cp ./StyleCopPlus.MSBuild.4.7.49.5/tools/StyleCopPlus.dll .
rm -rf StyleCopPlus.MSBuild.4.7.49.5
fi
if [ ! -f StyleCop.dll ]; then
echo "Fetching StyleCop files from nuget"
nuget install StyleCop.MSBuild -Version 4.7.49.0