F0: fondamenta della soluzione, script, documenti e harness di test
- ViaFerrea.sln con Core e Protocol (net10.0 + net8.0), Server, Tools, Tests - Directory.Build.props con versione unica e warning come errori - Script build/test/check-nuget/publish-image (+ build.ps1) - Documenti: GUIDA, GDD, ARCHITECTURE, PROTOCOL (bozza), STATE, ADR 0001 - Harness di test interno con i primi test su Rng (xoshiro256**) - Immagini di riferimento 01-05 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0191R7vXgtbAvSV4V8tj8uzL
This commit is contained in:
36 files changed
+1647
-2
No files matched your search
@@ -0,0 +1,23 @@
|
||||
namespace ViaFerrea.Tools;
|
||||
|
||||
/// <summary>Strumenti da riga di comando di Via Ferrea.</summary>
|
||||
public static class ToolsProgram
|
||||
{
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
if (args.Length == 0 || args[0] is "-h" or "--help" or "help")
|
||||
{
|
||||
PrintHelp();
|
||||
return args.Length == 0 ? 1 : 0;
|
||||
}
|
||||
Console.Error.WriteLine($"Comando sconosciuto: {args[0]}");
|
||||
PrintHelp();
|
||||
return 1;
|
||||
}
|
||||
|
||||
private static void PrintHelp()
|
||||
{
|
||||
Console.WriteLine("viaferrea-tools <comando> [opzioni]");
|
||||
Console.WriteLine(" (i comandi arrivano dalla Fase 1)");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<!-- Strumenti da riga di comando: validate-data, genmap, profile, simulate, bench, replay. -->
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<AssemblyName>viaferrea-tools</AssemblyName>
|
||||
<RootNamespace>ViaFerrea.Tools</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ViaFerrea.Core\ViaFerrea.Core.csproj" />
|
||||
<ProjectReference Include="..\ViaFerrea.Protocol\ViaFerrea.Protocol.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\..\data\**\*.json" LinkBase="data" CopyToOutputDirectory="PreserveNewest" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in new issue
Block a user