Engines are moving out of OpenNest so they can be published on their own and so OpenNest checkouts handed to a model for an engine-building run no longer contain the competing engines. History for Engines/ (and the pre-move root-level engine folders) was carried over with git filter-repo. Engines now build against a sibling OpenNest clone via $(OpenNestRoot), overridable with /p:OpenNestRoot, with a clear error when it is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
722 B
XML
16 lines
722 B
XML
<Project>
|
|
<!--
|
|
Each engine's tests/ subproject sits inside the engine folder. This must live in a
|
|
.targets file: removals in Directory.Build.props run before the SDK adds its default
|
|
Compile glob, so they would have no effect.
|
|
-->
|
|
<ItemGroup>
|
|
<Compile Remove="tests/**/*.cs" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="CheckOpenNestRoot" BeforeTargets="ResolveProjectReferences;_CheckForInvalidConfigurationAndPlatform">
|
|
<Error Condition="!Exists('$(OpenNestRoot)OpenNest.Engine/OpenNest.Engine.csproj')"
|
|
Text="OpenNest checkout not found at '$(OpenNestRoot)'. Clone https://git.thecozycat.net/aj/OpenNest.git next to this repo, or pass /p:OpenNestRoot=<path>." />
|
|
</Target>
|
|
</Project>
|