Move check for explicit interface violations to the top
The interface violation check is fast, so it doesn't really delay the rest, while you don't have to wait for all other code checks to finish to check for violations.
This commit is contained in:
4
make.ps1
4
make.ps1
@@ -164,6 +164,8 @@ elseif ($command -eq "check")
|
||||
{
|
||||
if (Test-Path OpenRA.Utility.exe)
|
||||
{
|
||||
echo "Checking for explicit interface violations..."
|
||||
./OpenRA.Utility.exe all --check-explicit-interfaces
|
||||
echo "Checking for code style violations in OpenRA.Platforms.Default..."
|
||||
./OpenRA.Utility.exe cnc --check-code-style OpenRA.Platforms.Default
|
||||
echo "Checking for code style violations in OpenRA.GameMonitor..."
|
||||
@@ -184,8 +186,6 @@ 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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user