Build ServerShared without Unity and add AetherDb scripts
Aetheria.Shared.csproj compiles ServerShared with MessagePack, UniRx core, Ink and Unity.Mathematics from source against .NET Standard 2.1 (Unity's API level) with no Unity defines; a clean build checks that the simulation stays engine-independent. tools/AetherDb opens AetherDB.msgpack through the game's own CultCache for file-based C# scripts; station-fit checks every station hull can take a docking bay. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
25ecb46fcd
commit
02058a3cdf
6 changed files with 126 additions and 3 deletions
14
tools/AetherDb/Directory.Build.props
Normal file
14
tools/AetherDb/Directory.Build.props
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<Project>
|
||||
<!-- Applies to every script under tools/AetherDb. Scripts are file-based programs: pass a script path to dotnet run
|
||||
with its file option. They load game data through the headless Aetheria.Shared build of ServerShared. -->
|
||||
<PropertyGroup>
|
||||
<Nullable>disable</Nullable>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<!-- File-based programs default to AOT, which disables the dynamic code MessagePack's resolvers generate -->
|
||||
<PublishAot>false</PublishAot>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)AetherDb.cs" />
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\Aetheria.Shared\Aetheria.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Loading…
Reference in a new issue