Publish .NET fields contract project

This commit is contained in:
Meta Vens 2026-07-10 15:43:57 +01:00
commit 030383470f
4 changed files with 20 additions and 1 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
node_modules/ node_modules/
artifacts/ artifacts/
**/bin/
**/obj/

View file

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<Description>Runtime-neutral C# contracts for gamecult.fields documents.</Description>
<PackageId>GameCult.Eve.PluginFields</PackageId>
<Version>0.1.1</Version>
</PropertyGroup>
</Project>

View file

@ -49,4 +49,5 @@ test("publishes a runtime-neutral Unity contract package", () => {
assert.match(contracts, /interface IEveFieldsSplatsDocument/); assert.match(contracts, /interface IEveFieldsSplatsDocument/);
assert.match(contracts, /gamecult\.fields\.splats\.v1/); assert.match(contracts, /gamecult\.fields\.splats\.v1/);
assert.doesNotMatch(contracts, /UnityEngine|Aetheria|MessagePack|GameCult\.Caching/); assert.doesNotMatch(contracts, /UnityEngine|Aetheria|MessagePack|GameCult\.Caching/);
assert.match(readFileSync(new URL("../GameCult.Eve.PluginFields.csproj", import.meta.url), "utf8"), /netstandard2\.1/);
}); });

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 59ad75f1e14ba2245b8766107f53a8b7
PackageManifestImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: