Skip to content

Commit 6f23015

Browse files
Fix Cbor List Array Generics for Real this time (#11)
1 parent a28e05a commit 6f23015

8 files changed

Lines changed: 827 additions & 9 deletions

File tree

CarpaNet.Samples.slnx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<Project Path="samples/JetstreamTest/JetstreamTest.csproj" />
1313
<Project Path="samples/RemoteResolution/RemoteResolution.csproj" />
1414
<Project Path="samples/XrpcServer/XrpcServer.csproj" />
15+
<Project Path="samples/MebiByteTest/MebiByteTest.csproj" />
1516
</Folder>
1617
<Folder Name="/tests/">
1718
<Project Path="tests/CarpaNet.UnitTests/CarpaNet.UnitTests.csproj" />
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net10.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
<PublishAot>true</PublishAot>
9+
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
10+
<CarpaNet_JsonContextName>ATProtoJsonContext</CarpaNet_JsonContextName>
11+
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
12+
</PropertyGroup>
13+
14+
<ItemGroup>
15+
<ProjectReference Include="..\..\src\CarpaNet\CarpaNet.csproj" />
16+
<ProjectReference Include="..\..\src\CarpaNet.SourceGen\CarpaNet.SourceGen.csproj"
17+
OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
18+
</ItemGroup>
19+
20+
<Import Project="..\..\src\CarpaNet\build\CarpaNet.targets" />
21+
22+
<ItemGroup>
23+
<LexiconFiles Include="lexicons\**\*.json" />
24+
</ItemGroup>
25+
26+
</Project>

samples/MebiByteTest/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// MebiByteTest - Verify source generation for MebiByte lexicons
2+
Console.WriteLine("MebiByteTest: Source generation succeeded.");

samples/MebiByteTest/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# MebiByteTest
2+
3+
This is to test complex, locally referenced, lexicon entries to validate that they compile.

0 commit comments

Comments
 (0)