Removed style cop related shade files
This commit is contained in:
parent
22952e1806
commit
5008e2743d
|
|
@ -1,11 +0,0 @@
|
||||||
@{/*
|
|
||||||
|
|
||||||
stylecop-run
|
|
||||||
Run StyleCop for your project.
|
|
||||||
|
|
||||||
projectFile=''
|
|
||||||
Required. Path to the test project.json to use.
|
|
||||||
|
|
||||||
*/}
|
|
||||||
|
|
||||||
exec program='bin\_stylecop\bin\StyleCop.KRunner.exe' commandline='${projectFile}'
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
@{/*
|
|
||||||
|
|
||||||
stylecop-setup
|
|
||||||
Downloads packages to prepare for running stylecop
|
|
||||||
|
|
||||||
*/}
|
|
||||||
var packagesDirectory = 'bin\_stylecop'
|
|
||||||
var binariesDirectory = 'bin\_stylecop\bin'
|
|
||||||
|
|
||||||
nuget-install package='StyleCop.KRunner' outputDir='${packagesDirectory}' extra='-pre -ExcludeVersion'
|
|
||||||
nuget-install package='StyleCop.KRules' outputDir='${packagesDirectory}' extra='-pre -ExcludeVersion'
|
|
||||||
|
|
||||||
@{
|
|
||||||
var binaries =
|
|
||||||
Files.Include(Path.Combine(packagesDirectory, "*", "*net45*", "*.*"))
|
|
||||||
.Concat(Files.Include(Path.Combine(packagesDirectory, "*lib*", "*.dll")));
|
|
||||||
|
|
||||||
Directory.CreateDirectory(binariesDirectory);
|
|
||||||
|
|
||||||
foreach(var file in binaries)
|
|
||||||
{
|
|
||||||
File.Copy(file, Path.Combine(binariesDirectory, Path.GetFileName(file)), true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue