Add tests for "half-portable" scenario

This commit is contained in:
Andrew Stanton-Nurse 2016-04-08 16:27:09 -07:00
parent 2d3a1fd177
commit 14770ae5ba
15 changed files with 200 additions and 53 deletions

View file

@ -248,6 +248,7 @@ namespace Microsoft.DotNet.Cli.Build
CleanOutputDir(Path.Combine(Dirs.Stage1, "sdk"));
FS.CopyRecursive(Dirs.Stage1, Dirs.Stage1Symbols);
RemovePdbsFromDir(Path.Combine(Dirs.Stage1, "sdk"));
return result;
}
@ -300,6 +301,8 @@ namespace Microsoft.DotNet.Cli.Build
CleanOutputDir(Path.Combine(Dirs.Stage2, "sdk"));
FS.CopyRecursive(Dirs.Stage2, Dirs.Stage2Symbols);
RemovePdbsFromDir(Path.Combine(Dirs.Stage2, "sdk"));
return c.Success();
}

View file

@ -200,7 +200,6 @@ namespace Microsoft.DotNet.Cli.Build
.Execute();
}
var projectJson = Path.Combine(fullPath, "project.json");
var dotnetPackArgs = new List<string> {
projectJson,