Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
meziantou committed Dec 26, 2024
1 parent c945722 commit da45404
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
10 changes: 5 additions & 5 deletions Meziantou.Framework.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Project Path="Samples/Meziantou.Framework.InlineSnapshotTesting.Samples/Meziantou.Framework.InlineSnapshotTesting.Samples.csproj" />
<Project Path="Samples/Meziantou.Framework.Scheduling.RecurrenceRuleSample/Meziantou.Framework.Scheduling.RecurrenceRuleSample.csproj" />
<Project Path="Samples/Meziantou.Framework.Win32.AccessTokenConsole/Meziantou.Framework.Win32.AccessTokenConsole.csproj" />
<Project Path="Samples/Meziantou.Framework.Win32.ChangeJournal.Sample/Meziantou.Framework.Win32.ChangeJournal.Sample.csproj" Id="5e610dbc-0acc-47b2-8f86-90672537c2fb" />
<Project Path="Samples/Meziantou.Framework.Win32.ChangeJournal.Sample/Meziantou.Framework.Win32.ChangeJournal.Sample.csproj" />
<Project Path="Samples/Meziantou.Framework.Win32.CredentialManagerConsole/Meziantou.Framework.Win32.CredentialManagerConsole.csproj" />
<Project Path="Samples/Meziantou.Framework.Win32.DialogsSamples/Meziantou.Framework.Win32.DialogsSamples.csproj" />
<Project Path="Samples/Meziantou.Framework.Win32.RecentDocumentsConsole/Meziantou.Framework.Win32.RecentDocumentsConsole.csproj" />
Expand Down Expand Up @@ -38,7 +38,7 @@
<Project Path="src/Meziantou.AspNetCore.Components/Meziantou.AspNetCore.Components.csproj" />
<Project Path="src/Meziantou.AspNetCore.Mvc/Meziantou.AspNetCore.Mvc.csproj" />
<Project Path="src/Meziantou.Extensions.Logging.InMemory/Meziantou.Extensions.Logging.InMemory.csproj" />
<Project Path="src/Meziantou.Extensions.Logging.Xunit.v3/Meziantou.Extensions.Logging.Xunit.v3.csproj" Id="8042aa97-6cec-4290-bec6-946194ec67d2" />
<Project Path="src/Meziantou.Extensions.Logging.Xunit.v3/Meziantou.Extensions.Logging.Xunit.v3.csproj" />
<Project Path="src/Meziantou.Extensions.Logging.Xunit/Meziantou.Extensions.Logging.Xunit.csproj" />
<Project Path="src/Meziantou.Framework.ByteSize/Meziantou.Framework.ByteSize.csproj" />
<Project Path="src/Meziantou.Framework.ChromiumTracing/Meziantou.Framework.ChromiumTracing.csproj" />
Expand All @@ -55,7 +55,7 @@
<Project Path="src/Meziantou.Framework.Html.Tool/Meziantou.Framework.Html.Tool.csproj" />
<Project Path="src/Meziantou.Framework.Html/Meziantou.Framework.Html.csproj" />
<Project Path="src/Meziantou.Framework.HtmlSanitizer/Meziantou.Framework.HtmlSanitizer.csproj" />
<Project Path="src/Meziantou.Framework.Http.Hsts/Meziantou.Framework.Http.Hsts.csproj" Id="6f7af63d-c479-436c-9591-5ecaea583f3f" />
<Project Path="src/Meziantou.Framework.Http.Hsts/Meziantou.Framework.Http.Hsts.csproj" />
<Project Path="src/Meziantou.Framework.Http/Meziantou.Framework.Http.csproj" />
<Project Path="src/Meziantou.Framework.HttpClientMock/Meziantou.Framework.HttpClientMock.csproj" />
<Project Path="src/Meziantou.Framework.HumanReadableSerializer/Meziantou.Framework.HumanReadableSerializer.csproj" />
Expand Down Expand Up @@ -124,7 +124,7 @@
<Project Path="tests/Meziantou.Framework.Html.Tests/Meziantou.Framework.Html.Tests.csproj" />
<Project Path="tests/Meziantou.Framework.Html.Tool.Tests/Meziantou.Framework.Html.Tool.Tests.csproj" />
<Project Path="tests/Meziantou.Framework.HtmlSanitizer.Tests/Meziantou.Framework.HtmlSanitizer.Tests.csproj" />
<Project Path="tests/Meziantou.Framework.Http.Hsts.Tests/Meziantou.Framework.Http.Hsts.Tests.csproj" Id="d39369d9-5b50-46e9-82c6-c3fb9c9be707" />
<Project Path="tests/Meziantou.Framework.Http.Hsts.Tests/Meziantou.Framework.Http.Hsts.Tests.csproj" />
<Project Path="tests/Meziantou.Framework.Http.Tests/Meziantou.Framework.Http.Tests.csproj" />
<Project Path="tests/Meziantou.Framework.HttpClientMock.Tests/Meziantou.Framework.HttpClientMock.Tests.csproj" />
<Project Path="tests/Meziantou.Framework.HumanReadableSerializer.FSharp.Tests/Meziantou.Framework.HumanReadableSerializer.FSharp.Tests.fsproj" />
Expand Down Expand Up @@ -169,6 +169,6 @@
<Project Path="tests/Meziantou.Framework.StronglyTypedId.GeneratorTests/Meziantou.Framework.StronglyTypedId.GeneratorTests.csproj" />
</Folder>
<Folder Name="/tools/" Id="02ea681e-c7d8-13c7-8484-4ac65e1b71e8">
<Project Path="tools/Meziantou.Framework.Http.Hsts.Generator/Meziantou.Framework.Http.Hsts.Generator.csproj" Id="5ee93510-9d10-40cc-99fc-d84b09b77034" />
<Project Path="tools/Meziantou.Framework.Http.Hsts.Generator/Meziantou.Framework.Http.Hsts.Generator.csproj" />
</Folder>
</Solution>
4 changes: 2 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<EnablePackageValidation Condition="'$(EnablePackageValidation)' == ''">true</EnablePackageValidation>
</PropertyGroup>

<!--<PropertyGroup>
<PropertyGroup>
<GenerateSBOM Condition="'$(GenerateSBOM)' == ''">$(IsPackable)</GenerateSBOM>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Sbom.Targets" Version="3.0.0" PrivateAssets="All" />
</ItemGroup>-->
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// <auto-generated />
// Data source: https://raw.githubusercontent.com/chromium/chromium/ba720cd91299fe45b6345be1971ee628af9bc3f5/net/http/transport_security_state_static.json
// Commit date: 2024-12-18T23:38:47.0000000Z
// #nullable enable // Roslyn doesn't like it :(

using System.Collections.Concurrent;

Expand Down
5 changes: 2 additions & 3 deletions tools/Meziantou.Framework.Http.Hsts.Generator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// By default, generate a subset of the data. Otherwise the IDE is not responsive because of the large file
var fullGeneration = !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("GITHUB_ACTIONS"));
var token = Environment.GetEnvironmentVariable("GITHUB_TOKEN");
if(token is null)
if (token is null)
{
// gh auth token
var process = Process.Start(new ProcessStartInfo
Expand Down Expand Up @@ -97,8 +97,7 @@
// <auto-generated />
// Data source: {{fileUrl}}
// Commit date: {{commitDate.ToString("O", CultureInfo.InvariantCulture)}}
// #nullable enable // Roslyn doesn't like it :(
using System.Collections.Concurrent;
namespace Meziantou.Framework.Http;
Expand Down

0 comments on commit da45404

Please sign in to comment.