mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 21:01:10 +00:00
- embeds the append-only historical and deny trust lists in the API and marks matching bundled plugins as Official without blocking loading - builds and records the current plugin manifest only for official release builds - deploys the PDF native libraries for the supported Linux, macOS and Windows runtimes from the plugin dependency manifest - records release hashes by appending only missing entries to master's manifest and rejects any diff that removes a line - documents the release flow, the supported runtimes and the plugin installer limits
19 lines
1.3 KiB
XML
19 lines
1.3 KiB
XML
<Project>
|
|
<!-- The release orchestrator passes the plugin deployment destination. The default is used by solution builds and plugin tests. -->
|
|
<Target Name="SetPluginsDestination" BeforeTargets="CopyToPluginsFolder">
|
|
<PropertyGroup>
|
|
<_PluginsDestination Condition="'$(NemeraPluginsOutputDirectory)' != ''">$(NemeraPluginsOutputDirectory)</_PluginsDestination>
|
|
<_PluginsDestination Condition="'$(NemeraPluginsOutputDirectory)' == ''">$(RepoRoot)bin/api/$(Configuration)/$(TargetFramework)/plugins/</_PluginsDestination>
|
|
</PropertyGroup>
|
|
</Target>
|
|
|
|
<!-- Deploys the dependency manifest next to the plugin, so the host native resolver can use it. The PDF plugin prunes the native runtime folders to the supported list after the copy. -->
|
|
<Target Name="PreparePluginsCopy" BeforeTargets="CopyToPluginsFolder" DependsOnTargets="SetPluginsDestination">
|
|
<ItemGroup>
|
|
<_PluginsReferenceCopyLocalPath Include="@(ReferenceCopyLocalPaths)" />
|
|
</ItemGroup>
|
|
<MakeDir Directories="$(_PluginsDestination)" />
|
|
<Copy SourceFiles="$(TargetDir)$(TargetName).deps.json" DestinationFolder="$(_PluginsDestination)" Condition="Exists('$(TargetDir)$(TargetName).deps.json')" />
|
|
</Target>
|
|
</Project>
|