14 references to WriteExecutableFileAsync
Aspire.Acquisition.Tests (14)
Scripts\Common\FakeArchiveHelper.cs (2)
32
await FileHelper.
WriteExecutableFileAsync
(binaryPath, "#!/bin/bash\necho \"aspire mock v1.0\"\n");
112
await FileHelper.
WriteExecutableFileAsync
(binaryPath, FakeVerifyAspireScript);
Scripts\Common\TestEnvironment.cs (1)
276
await FileHelper.
WriteExecutableFileAsync
(ghScriptPath, scriptContent);
Scripts\CompletionScriptTests.cs (1)
1012
await FileHelper.
WriteExecutableFileAsync
(cli, ("""
Scripts\FileHelperTests.cs (2)
27
await FileHelper.
WriteExecutableFileAsync
(path, "stale");
32
await FileHelper.
WriteExecutableFileAsync
(path, Contents);
Scripts\PRScriptInstallerModeTests.cs (3)
123
await FileHelper.
WriteExecutableFileAsync
(brewPath, $$"""
227
await FileHelper.
WriteExecutableFileAsync
(curlPath, """
234
await FileHelper.
WriteExecutableFileAsync
(codesignPath, $$"""
Scripts\PRScriptToolModeTests.cs (1)
120
await FileHelper.
WriteExecutableFileAsync
(dotnetScriptPath, scriptContent);
Scripts\ReleaseScriptFunctionTests.cs (3)
506
await FileHelper.
WriteExecutableFileAsync
(cliPath, ($$"""
679
await FileHelper.
WriteExecutableFileAsync
(mockCurl,
715
await FileHelper.
WriteExecutableFileAsync
(mockCurl,
Scripts\ReleaseScriptPSFunctionTests.cs (1)
541
await FileHelper.
WriteExecutableFileAsync
(cliPath, contents.ReplaceLineEndings(OperatingSystem.IsWindows() ? "\r\n" : "\n"));