13 references to Path
Aspire.Hosting.CodeGeneration.Go.Tests (13)
GoScaffoldTests.cs (12)
106
TargetPath = workspace.
Path
,
134
File.WriteAllText(Path.Combine(workspace.
Path
, name), content);
137
var result = _languageSupport.Detect(workspace.
Path
);
149
File.WriteAllText(Path.Combine(workspace.
Path
, "apphost.go"), "// marker");
151
var result = _languageSupport.Detect(workspace.
Path
);
161
File.WriteAllText(Path.Combine(workspace.
Path
, "apphost.ts"), "// typescript");
162
File.WriteAllText(Path.Combine(workspace.
Path
, "go.mod"), "module apphost");
164
var result = _languageSupport.Detect(workspace.
Path
);
183
WriteGoFile(workspace.
Path
, Path.Combine("scaffold", "apphost.go"), Scaffold(workspace)["apphost.go"]);
192
WriteGoFile(workspace.
Path
, Path.Combine("go-starter", Path.GetRelativePath(starterRoot, starterFile)), File.ReadAllText(starterFile));
195
var gofmtOutput = await RunGofmtAsync(workspace.
Path
);
206
TargetPath = workspace.
Path
,
tests\Shared\TemporaryWorkspace.cs (1)
218
var aspireDir = IOPath.Combine(workspace.
Path
, ".aspire");