Merge pull request #625 from cdmihai/buildCommandWithSafetyChecks

Introduce --build-profile flag and precondition checking in the Build command
This commit is contained in:
Piotr Puszkiewicz 2015-12-28 10:46:27 -08:00
commit d1a257bff7
22 changed files with 990 additions and 344 deletions

View file

@ -46,7 +46,7 @@ namespace ConsoleApplication
{
TestSetup();
TestRunCommand("dotnet", $"compile -o {OutputDirectory}");
TestRunCommand("dotnet", $"build -o {OutputDirectory}");
TestOutputExecutable(OutputDirectory);
}
@ -60,7 +60,7 @@ namespace ConsoleApplication
TestSetup();
TestRunCommand("dotnet", $"compile --native -o {OutputDirectory}");
TestRunCommand("dotnet", $"build --native -o {OutputDirectory}");
var nativeOut = Path.Combine(OutputDirectory, "native");
TestOutputExecutable(nativeOut);
@ -71,7 +71,7 @@ namespace ConsoleApplication
{
TestSetup();
TestRunCommand("dotnet", $"compile --native --cpp -o {OutputDirectory}");
TestRunCommand("dotnet", $"build --native --cpp -o {OutputDirectory}");
var nativeOut = Path.Combine(OutputDirectory, "native");
TestOutputExecutable(nativeOut);