summary refs log tree commit diff
path: root/ReferenceClientProxyImplementation/Services/TemporaryTestJob.cs
blob: b8998f1be61e6de3e579a30c299fede473d903a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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");
//     }
// }