Browse Source

fixed stylecop path

af/merge-core
Scott Williams 9 years ago
parent
commit
c4f3a8eba2
  1. 5
      build/Program.cs
  2. 2
      build/project.json

5
build/Program.cs

@ -170,10 +170,9 @@ namespace ConsoleApplication
private static void ResetProject(List<SourceProject> projects) private static void ResetProject(List<SourceProject> projects)
{ {
if (File.Exists("build-inner.bak")) if (File.Exists("build-inner.cmd"))
{ {
File.Copy("build-inner.bak", "build-inner.cmd", true); File.Delete("build-inner.cmd");
File.Delete("build-inner.bak");
} }
// revert the project.json change be reverting it but skipp all the git stuff as its not needed // revert the project.json change be reverting it but skipp all the git stuff as its not needed

2
build/project.json

@ -4,7 +4,7 @@
"debugType": "portable", "debugType": "portable",
"emitEntryPoint": true, "emitEntryPoint": true,
"xmlDoc": true, "xmlDoc": true,
"additionalArguments": [ "/additionalfile:../src/ImageSharp/stylecop.json", "/ruleset:../ImageSharp.ruleset" ] "additionalArguments": [ "/additionalfile:../src/Shared/stylecop.json", "/ruleset:../ImageSharp.ruleset" ]
}, },
"dependencies": { "dependencies": {
"Microsoft.DotNet.ProjectModel": "1.0.0-rc3-003121", "Microsoft.DotNet.ProjectModel": "1.0.0-rc3-003121",

Loading…
Cancel
Save