Browse Source
Project with executable services only should launch (#583)
pull/584/head
John Luo
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
11 deletions
-
src/Microsoft.Tye.Hosting/ProcessRunner.cs
|
|
|
@ -144,19 +144,19 @@ namespace Microsoft.Tye.Hosting |
|
|
|
_logger.LogInformation("Building projects failed with exit code {ExitCode}: \r\n" + buildResult.StandardOutput, buildResult.ExitCode); |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
foreach (var s in application.Services) |
|
|
|
foreach (var s in application.Services) |
|
|
|
{ |
|
|
|
switch (s.Value.ServiceType) |
|
|
|
{ |
|
|
|
switch (s.Value.ServiceType) |
|
|
|
{ |
|
|
|
case ServiceType.Executable: |
|
|
|
LaunchService(application, s.Value); |
|
|
|
break; |
|
|
|
case ServiceType.Project: |
|
|
|
LaunchService(application, s.Value); |
|
|
|
break; |
|
|
|
}; |
|
|
|
} |
|
|
|
case ServiceType.Executable: |
|
|
|
LaunchService(application, s.Value); |
|
|
|
break; |
|
|
|
case ServiceType.Project: |
|
|
|
LaunchService(application, s.Value); |
|
|
|
break; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|