Complete portable planetary presentation contracts
This commit is contained in:
parent
42fef7cdd7
commit
102403efac
74 changed files with 1166 additions and 31 deletions
9
scripts/test-web-planetary-tile.ps1
Normal file
9
scripts/test-web-planetary-tile.ps1
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
$ErrorActionPreference = "Stop"
|
||||
$root = Split-Path -Parent $PSScriptRoot
|
||||
$fixture = Join-Path $root ".tools\planetary-tile\fixture.cmpt"
|
||||
dotnet run --project (Join-Path $root "Tools~\CultMath.PlanetaryTileFixture\CultMath.PlanetaryTileFixture.csproj") -- $fixture
|
||||
if ($LASTEXITCODE -ne 0) { throw "Planetary tile fixture generation failed." }
|
||||
node --no-warnings --experimental-strip-types (Join-Path $root "web\planetary-tile.cross-runtime.test.mjs") $fixture
|
||||
if ($LASTEXITCODE -ne 0) { throw "Planetary tile web decoding failed." }
|
||||
node --no-warnings --experimental-strip-types (Join-Path $root "web\planetary-tile.test.mjs")
|
||||
if ($LASTEXITCODE -ne 0) { throw "Planetary tile decoder unit test failed." }
|
||||
7
scripts/test-web-planetary-tile.ps1.meta
Normal file
7
scripts/test-web-planetary-tile.ps1.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 235e8f203bd1c4d40a8fa211273106ba
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in a new issue