13 references to Path
Aspire.Hosting.CodeGeneration.Go.Tests (13)
GoScaffoldTests.cs (12)
120
TargetPath = workspace.
Path
,
148
File.WriteAllText(Path.Combine(workspace.
Path
, name), content);
151
var result = _languageSupport.Detect(workspace.
Path
);
163
File.WriteAllText(Path.Combine(workspace.
Path
, "apphost.go"), "// marker");
165
var result = _languageSupport.Detect(workspace.
Path
);
175
File.WriteAllText(Path.Combine(workspace.
Path
, "apphost.ts"), "// typescript");
176
File.WriteAllText(Path.Combine(workspace.
Path
, "go.mod"), "module apphost");
178
var result = _languageSupport.Detect(workspace.
Path
);
197
WriteGoFile(workspace.
Path
, Path.Combine("scaffold", "apphost.go"), Scaffold(workspace)["apphost.go"]);
206
WriteGoFile(workspace.
Path
, Path.Combine("go-starter", Path.GetRelativePath(starterRoot, starterFile)), File.ReadAllText(starterFile));
209
var gofmtOutput = await RunGofmtAsync(workspace.
Path
);
220
TargetPath = workspace.
Path
,
tests\Shared\TemporaryWorkspace.cs (1)
218
var aspireDir = IOPath.Combine(workspace.
Path
, ".aspire");