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

@@ -108,6 +108,9 @@ check: dependencies
@echo
@echo "Checking for explicit interface violations..."
@mono --debug OpenRA.Utility.exe all --check-explicit-interfaces
@echo
@echo "Checking for incorrect conditional trait interface overrides..."
@mono --debug OpenRA.Utility.exe all --check-conditional-trait-interface-overrides
NUNIT_CONSOLE := $(shell test -f thirdparty/download/nunit3-console.exe && echo mono thirdparty/download/nunit3-console.exe || \