1 write to _spec
aspire (1)
Projects\GuestRuntime.cs (1)
27
_spec
= spec;
16 references to _spec
aspire (16)
Projects\GuestRuntime.cs (16)
34
public string Language =>
_spec
.Language;
39
public string DisplayName =>
_spec
.DisplayName;
49
if (
_spec
.InstallDependencies is null)
51
_logger.LogDebug("No dependency installation configured for {Language}",
_spec
.Language);
55
var command = FindCommand(
_spec
.InstallDependencies.Command);
58
_logger.LogError("Command '{Command}' not found in PATH",
_spec
.InstallDependencies.Command);
62
var args = ReplacePlaceholders(
_spec
.InstallDependencies.Args, null, directory, null);
83
if (
_spec
.InstallDependencies.EnvironmentVariables is not null)
85
foreach (var (key, value) in
_spec
.InstallDependencies.EnvironmentVariables)
115
var commandSpec = watchMode &&
_spec
.WatchExecute is not null
116
?
_spec
.WatchExecute
117
:
_spec
.Execute;
139
var commandSpec =
_spec
.PublishExecute ??
_spec
.Execute;
205
_logger.LogDebug("{Language}({ProcessId}) stdout: {Line}",
_spec
.Language, process.Id, e.Data);
214
_logger.LogDebug("{Language}({ProcessId}) stderr: {Line}",
_spec
.Language, process.Id, e.Data);