docs: make Linux the supported release platform
verify / verify (push) Successful in 2m58s

Sanitized snapshot of private source e6784dc71e34681eca4ac52b0f9fe9efc9ce26ca.\n\nAI-assisted implementation reviewed by Cole Speelman.

Signed-off-by: Cole Speelman <crspeelman@gmail.com>
This commit is contained in:
2026-08-16 17:32:41 -04:00
parent 3a4b6db9b8
commit df946d888e
4 changed files with 5 additions and 97 deletions
-2
View File
@@ -2,7 +2,6 @@
.gitattributes
.gitea/workflows/assurance.yml
.gitea/workflows/cross-platform.yml
.gitea/workflows/verify.yml
.gitignore
CHANGELOG.md
@@ -47,7 +46,6 @@ scripts/export-public.sh
scripts/public-snapshot.allow
scripts/test-public-snapshot.sh
scripts/verify.sh
scripts/verify.ps1
starters/basic/.env.example
starters/basic/README.md
starters/basic/main.go
-41
View File
@@ -1,41 +0,0 @@
# SPDX-License-Identifier: AGPL-3.0-only
$ErrorActionPreference = "Stop"
$root = (Resolve-Path (Join-Path $PSScriptRoot "..")).Path
Push-Location $root
try {
$failed = $false
Get-ChildItem -Recurse -File | ForEach-Object {
$relative = [IO.Path]::GetRelativePath($root, $_.FullName).Replace('\', '/')
if ($relative.StartsWith('.git/') -or $relative.StartsWith('LICENSES/') -or $relative -eq 'go.sum') { return }
if ($relative.StartsWith('starters/') -or $relative.StartsWith('examples/')) { $expected = '0BSD' }
elseif ($relative.StartsWith('scripts/') -or $relative.StartsWith('.gitea/') -or $relative.StartsWith('services/')) { $expected = 'AGPL-3.0-only' }
else { $expected = 'MPL-2.0' }
$header = (Get-Content -LiteralPath $_.FullName -TotalCount 5) -join "`n"
if (-not $header.Contains("SPDX-License-Identifier: $expected")) {
Write-Error "license mismatch: $relative expected $expected"
$failed = $true
}
}
if ($failed) { throw "license boundary failed" }
$unformatted = & gofmt -l .
if ($LASTEXITCODE -ne 0 -or $unformatted) { throw "gofmt check failed: $unformatted" }
& go test ./...
if ($LASTEXITCODE -ne 0) { throw "go test failed" }
& go test -race ./...
if ($LASTEXITCODE -ne 0) { throw "race test failed" }
& go vet ./...
if ($LASTEXITCODE -ne 0) { throw "go vet failed" }
$build = Join-Path ([IO.Path]::GetTempPath()) ("gamertan-web-" + [guid]::NewGuid().ToString('N'))
New-Item -ItemType Directory -Path $build | Out-Null
try {
& go build -trimpath -o (Join-Path $build 'basic.exe') ./starters/basic
if ($LASTEXITCODE -ne 0) { throw "starter build failed" }
} finally {
Remove-Item -LiteralPath $build -Recurse -Force
}
& git diff --check
if ($LASTEXITCODE -ne 0) { throw "git diff check failed" }
} finally {
Pop-Location
}