diff --git a/build/_stylecop-run.shade b/build/_stylecop-run.shade deleted file mode 100644 index 0b729e651f..0000000000 --- a/build/_stylecop-run.shade +++ /dev/null @@ -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}' \ No newline at end of file diff --git a/build/_stylecop-setup.shade b/build/_stylecop-setup.shade deleted file mode 100644 index 7c8e6369e7..0000000000 --- a/build/_stylecop-setup.shade +++ /dev/null @@ -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); - } -} \ No newline at end of file