Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
Conflicts: Microsoft.DotNet.Cli.sln scripts/dockerbuild.sh scripts/test/setup/build-test-prerequisites.ps1 test/dotnet-build.Tests/IncrementalTestBase.cs test/dotnet-publish.Tests/Microsoft.DotNet.Tools.Publish.Tests.cs test/dotnet-publish.Tests/project.json
This commit is contained in:
commit
2a94a1e384
184 changed files with 5025 additions and 3052 deletions
|
@ -58,15 +58,15 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
|
|||
File.SetLastWriteTimeUtc(file, DateTime.UtcNow);
|
||||
}
|
||||
|
||||
protected CommandResult BuildProject(bool noIncremental = false, bool expectBuildFailure = false)
|
||||
protected CommandResult BuildProject(bool noDependencies = false, bool noIncremental = false, bool expectBuildFailure = false)
|
||||
{
|
||||
var mainProjectFile = GetProjectFile(MainProject);
|
||||
return BuildProject(mainProjectFile, noIncremental, expectBuildFailure);
|
||||
}
|
||||
|
||||
protected CommandResult BuildProject(string projectFile, bool noIncremental = false, bool expectBuildFailure = false)
|
||||
protected CommandResult BuildProject(string projectFile, bool noDependencies = false, bool noIncremental = false, bool expectBuildFailure = false)
|
||||
{
|
||||
var buildCommand = new BuildCommand(projectFile, output: GetOutputDir(), framework: "dnxcore50", noIncremental: noIncremental);
|
||||
var buildCommand = new BuildCommand(projectFile, output: GetOutputDir(), framework: "dnxcore50", noIncremental: noIncremental, noDependencies : noDependencies);
|
||||
var result = buildCommand.ExecuteWithCapturedOutput();
|
||||
|
||||
if (!expectBuildFailure)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue