From e3229f4cd8ff1193ecf32f28b0adcf31d87f701e Mon Sep 17 00:00:00 2001 From: Taryn Hill Date: Wed, 30 Dec 2015 08:03:39 -0600 Subject: [PATCH] Add explicit interface checking to 'make check' --- Makefile | 3 +++ make.ps1 | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index f38b784641..677bc0f335 100644 --- a/Makefile +++ b/Makefile @@ -227,6 +227,9 @@ check: utility mods @echo @echo "Checking for code style violations in OpenRA.Test..." @mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Test + @echo + @echo "Checking for explicit interface violations..." + @mono --debug OpenRA.Utility.exe all --check-explicit-interfaces NUNIT_CONSOLE := $(shell test -f thirdparty/download/nunit3-console.exe && echo mono thirdparty/download/nunit3-console.exe || \ which nunit3-console 2>/dev/null || which nunit2-console 2>/dev/null || which nunit-console 2>/dev/null) diff --git a/make.ps1 b/make.ps1 index eccb8b91ee..1df06d5a34 100644 --- a/make.ps1 +++ b/make.ps1 @@ -174,6 +174,8 @@ elseif ($command -eq "check") ./OpenRA.Utility.exe cnc --check-code-style OpenRA.Utility echo "Checking for code style violations in OpenRA.Test..." ./OpenRA.Utility.exe cnc --check-code-style OpenRA.Test + echo "Checking for explicit interface violations..." + ./OpenRA.Utility.exe all --check-explicit-interfaces } else {