Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jskeet committed Dec 12, 2024
1 parent 0e2af6b commit e7e1cbb
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,14 @@ private int BuildUnconfigured(Dictionary<string, string> options, string generat
// TODO: Generate a solution file, so we don't need to do this.
foreach (var directory in Directory.GetDirectories(apiRoot))
{
Console.WriteLine($"Building {directory}");
var relativeDirectory = Path.GetFileName(directory);
Console.WriteLine($"Building {relativeDirectory}");
var psi = new ProcessStartInfo
{
FileName = "/bin/bash",
FileName = "/usr/bin/dotnet",
WorkingDirectory = apiRoot
};
var processArguments = new List<string> { "dotnet", "build", directory };
var processArguments = new List<string> { "dotnet", relativeDirectory };
processArguments.ForEach(psi.ArgumentList.Add);

var process = Process.Start(psi)!;
Expand Down

0 comments on commit e7e1cbb

Please sign in to comment.