Add --check-code-style utility command.
This commit is contained in:
committed by
Matthias Mailänder
parent
ecd4479807
commit
f4055dae53
12
thirdparty/fetch-thirdparty-deps.ps1
vendored
Normal file
12
thirdparty/fetch-thirdparty-deps.ps1
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
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."
|
||||
./nuget.exe install StyleCop.MSBuild -Version 4.7.49.0
|
||||
cp StyleCop.MSBuild.4.7.49.0/tools/StyleCop*.dll .
|
||||
rmdir StyleCop.MSBuild.4.7.49.0 -Recurse
|
||||
}
|
||||
7
thirdparty/fetch-thirdparty-deps.sh
vendored
Executable file
7
thirdparty/fetch-thirdparty-deps.sh
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
if [ ! -f StyleCop.dll ]; then
|
||||
echo "Fetching StyleCop files from nuget"
|
||||
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
|
||||
Reference in New Issue
Block a user