Add --check-conditional-trait-interface-overrides utility command.

This command is used by `make check` to detect traits that incorrectly
override interface methods that are required for conditions to work
correctly.
This commit is contained in:
Paul Chote
2019-07-13 12:09:49 +00:00
committed by teinarss
parent 6eaf615798
commit 579d2c19e2
3 changed files with 83 additions and 0 deletions

View File

@@ -147,6 +147,9 @@ function Check-Command
{
Write-Host "Checking for explicit interface violations..." -ForegroundColor Cyan
./OpenRA.Utility.exe all --check-explicit-interfaces
Write-Host "Checking for incorrect conditional trait interface overrides..." -ForegroundColor Cyan
./OpenRA.Utility.exe all --check-conditional-trait-interface-overrides
}
}