chore: bootstrap repository foundation
Solution layout, build rules with zero-package guard, in-house test framework, localization runtime, brand mark rasteriser with ICO/PNG generation, Core contracts (imaging, video, domain model, TIFF reader), Titano.Tools (make-icon, i18n, xaml-lint, package-guard) and docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
109 files changed
+7523
No files matched your search
@@ -0,0 +1,42 @@
|
||||
<Project>
|
||||
<!-- BRIEF §0.2 rule 1 / §19.2: zero third-party packages, everywhere. -->
|
||||
<Target Name="AssertNoPackageReferences" BeforeTargets="CollectPackageReferences;_GenerateRestoreProjectSpec;BeforeBuild">
|
||||
<Error Condition="'@(PackageReference)' != ''"
|
||||
Code="TITANO001"
|
||||
Text="PackageReference is forbidden in Titano (found: @(PackageReference)). Implement it in-house." />
|
||||
</Target>
|
||||
|
||||
<!-- Localization catalog: i18n/<culture>/<Area>[.<culture>].resx, embedded into Titano.Core. -->
|
||||
<ItemGroup Condition="'$(TitanoEmbedI18n)' == 'true'">
|
||||
<EmbeddedResource Include="$(RepoRoot)i18n\**\*.resx">
|
||||
<Link>i18n\%(Filename)%(Extension)</Link>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Program icons are generated from the brand geometry by Titano.Tools make-icon (BRIEF §17). -->
|
||||
<PropertyGroup>
|
||||
<TitanoIconDir>$(RepoRoot)artifacts/icons/</TitanoIconDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(TitanoIconVariant)' != ''">
|
||||
<ApplicationIcon>$(TitanoIconDir)$(TitanoIconVariant).ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition="'$(TitanoIconVariant)' != ''">
|
||||
<ProjectReference Include="$(RepoRoot)src\Titano.Tools\Titano.Tools.csproj"
|
||||
ReferenceOutputAssembly="false"
|
||||
SkipGetTargetFrameworkProperties="true"
|
||||
GlobalPropertiesToRemove="RuntimeIdentifier;SelfContained;PublishSingleFile;PublishReadyToRun;TargetFramework"
|
||||
Private="false" />
|
||||
</ItemGroup>
|
||||
<Target Name="TitanoGenerateIcons"
|
||||
Condition="'$(TitanoIconVariant)' != ''"
|
||||
AfterTargets="ResolveProjectReferences"
|
||||
BeforeTargets="MarkupCompilePass1;CoreCompile">
|
||||
<MSBuild Projects="$(RepoRoot)src\Titano.Tools\Titano.Tools.csproj"
|
||||
Targets="GetTargetPath"
|
||||
RemoveProperties="RuntimeIdentifier;SelfContained;PublishSingleFile;PublishReadyToRun;TargetFramework">
|
||||
<Output TaskParameter="TargetOutputs" PropertyName="_TitanoToolsPath" />
|
||||
</MSBuild>
|
||||
<Exec Condition="!Exists('$(TitanoIconDir)$(TitanoIconVariant).ico')"
|
||||
Command="dotnet "$(_TitanoToolsPath)" make-icon --out "$(RepoRoot)artifacts/icons"" />
|
||||
</Target>
|
||||
</Project>
|
||||
Reference in new issue
Block a user