summary refs log tree commit diff
path: root/ReferenceClientProxyImplementation/Services/TemporaryTestJob.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ReferenceClientProxyImplementation/Services/TemporaryTestJob.cs')
-rw-r--r--ReferenceClientProxyImplementation/Services/TemporaryTestJob.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/ReferenceClientProxyImplementation/Services/TemporaryTestJob.cs b/ReferenceClientProxyImplementation/Services/TemporaryTestJob.cs
new file mode 100644

index 0000000..b8998f1 --- /dev/null +++ b/ReferenceClientProxyImplementation/Services/TemporaryTestJob.cs
@@ -0,0 +1,14 @@ +// namespace ReferenceClientProxyImplementation.Services; +// +// public class TemporaryTestJob(BuildDownloadService buildDownloadService) : BackgroundService { +// protected override async Task ExecuteAsync(CancellationToken stoppingToken) { +// Console.WriteLine("Running test job"); +// var outDir = +// "/home/Rory/git/spacebar/server-cs/DevUtils/ReferenceClientProxyImplementation/downloadCache/today/raw/"; +// if (Directory.Exists(outDir)) +// Directory.Delete(outDir, true); +// Directory.CreateDirectory(outDir); +// // await buildDownloadService.DownloadBuildFromArchiveOrg(outDir, new DateTime(2014, 1, 1)); +// await buildDownloadService.DownloadBuildFromUrl(outDir, "https://canary.discord.com/app"); +// } +// } \ No newline at end of file