Moves Lint checks to Mods.Common
This commit is contained in:
@@ -12,7 +12,7 @@ using System;
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Lint
|
||||||
{
|
{
|
||||||
public class CheckActorReferences : ILintPass
|
public class CheckActorReferences : ILintPass
|
||||||
{
|
{
|
||||||
@@ -12,7 +12,7 @@ using System;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Lint
|
||||||
{
|
{
|
||||||
public class CheckActors : ILintPass
|
public class CheckActors : ILintPass
|
||||||
{
|
{
|
||||||
@@ -12,7 +12,7 @@ using System;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Lint
|
||||||
{
|
{
|
||||||
public class CheckMapCordon : ILintPass
|
public class CheckMapCordon : ILintPass
|
||||||
{
|
{
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Lint
|
||||||
{
|
{
|
||||||
public class CheckMapRules : ILintPass
|
public class CheckMapRules : ILintPass
|
||||||
{
|
{
|
||||||
@@ -12,7 +12,7 @@ using System;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Lint
|
||||||
{
|
{
|
||||||
public class CheckPlayers : ILintPass
|
public class CheckPlayers : ILintPass
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@ using System.Linq;
|
|||||||
using OpenRA.Mods.Common.Traits;
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Lint
|
||||||
{
|
{
|
||||||
class CheckSequences : ILintPass
|
class CheckSequences : ILintPass
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@ using System.Linq;
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Lint
|
||||||
{
|
{
|
||||||
class CheckSyncAnnotations : ILintPass
|
class CheckSyncAnnotations : ILintPass
|
||||||
{
|
{
|
||||||
@@ -12,7 +12,7 @@ using System;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Lint
|
||||||
{
|
{
|
||||||
public class CheckTraitPrerequisites : ILintPass
|
public class CheckTraitPrerequisites : ILintPass
|
||||||
{
|
{
|
||||||
@@ -11,10 +11,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.Mods.Common.Traits;
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Mods.RA.Traits;
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Lint
|
||||||
{
|
{
|
||||||
class LintBuildablePrerequisites : ILintPass
|
class LintBuildablePrerequisites : ILintPass
|
||||||
{
|
{
|
||||||
@@ -130,6 +130,15 @@
|
|||||||
<Compile Include="Graphics\TextRenderable.cs" />
|
<Compile Include="Graphics\TextRenderable.cs" />
|
||||||
<Compile Include="Graphics\VoxelActorPreview.cs" />
|
<Compile Include="Graphics\VoxelActorPreview.cs" />
|
||||||
<Compile Include="Graphics\VoxelRenderable.cs" />
|
<Compile Include="Graphics\VoxelRenderable.cs" />
|
||||||
|
<Compile Include="Lint\CheckSequences.cs" />
|
||||||
|
<Compile Include="Lint\CheckPlayers.cs" />
|
||||||
|
<Compile Include="Lint\CheckActors.cs" />
|
||||||
|
<Compile Include="Lint\CheckMapCordon.cs" />
|
||||||
|
<Compile Include="Lint\CheckMapRules.cs" />
|
||||||
|
<Compile Include="Lint\CheckActorReferences.cs" />
|
||||||
|
<Compile Include="Lint\CheckSyncAnnotations.cs" />
|
||||||
|
<Compile Include="Lint\CheckTraitPrerequisites.cs" />
|
||||||
|
<Compile Include="Lint\LintBuildablePrerequisites.cs" />
|
||||||
<Compile Include="LoadScreens\ModChooserLoadScreen.cs" />
|
<Compile Include="LoadScreens\ModChooserLoadScreen.cs" />
|
||||||
<Compile Include="Orders\BeaconOrderGenerator.cs" />
|
<Compile Include="Orders\BeaconOrderGenerator.cs" />
|
||||||
<Compile Include="Orders\DeployOrderTargeter.cs" />
|
<Compile Include="Orders\DeployOrderTargeter.cs" />
|
||||||
|
|||||||
@@ -119,10 +119,6 @@
|
|||||||
<Compile Include="Traits\DemoTruck.cs" />
|
<Compile Include="Traits\DemoTruck.cs" />
|
||||||
<Compile Include="Effects\GpsDot.cs" />
|
<Compile Include="Effects\GpsDot.cs" />
|
||||||
<Compile Include="Effects\Parachute.cs" />
|
<Compile Include="Effects\Parachute.cs" />
|
||||||
<Compile Include="Lint\CheckActorReferences.cs" />
|
|
||||||
<Compile Include="Lint\CheckSyncAnnotations.cs" />
|
|
||||||
<Compile Include="Lint\CheckTraitPrerequisites.cs" />
|
|
||||||
<Compile Include="Lint\LintBuildablePrerequisites.cs" />
|
|
||||||
<Compile Include="Traits\MadTank.cs" />
|
<Compile Include="Traits\MadTank.cs" />
|
||||||
<Compile Include="Traits\Mine.cs" />
|
<Compile Include="Traits\Mine.cs" />
|
||||||
<Compile Include="Traits\Minelayer.cs" />
|
<Compile Include="Traits\Minelayer.cs" />
|
||||||
@@ -181,7 +177,6 @@
|
|||||||
<Compile Include="Traits\Infiltration\InfiltrateForSupportPower.cs" />
|
<Compile Include="Traits\Infiltration\InfiltrateForSupportPower.cs" />
|
||||||
<Compile Include="Traits\Infiltration\Infiltrates.cs" />
|
<Compile Include="Traits\Infiltration\Infiltrates.cs" />
|
||||||
<Compile Include="Widgets\Logic\ObserverShroudSelectorLogic.cs" />
|
<Compile Include="Widgets\Logic\ObserverShroudSelectorLogic.cs" />
|
||||||
<Compile Include="Lint\CheckSequences.cs" />
|
|
||||||
<Compile Include="Widgets\Logic\SpawnSelectorTooltipLogic.cs" />
|
<Compile Include="Widgets\Logic\SpawnSelectorTooltipLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\ClientTooltipLogic.cs" />
|
<Compile Include="Widgets\Logic\ClientTooltipLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\CreditsLogic.cs" />
|
<Compile Include="Widgets\Logic\CreditsLogic.cs" />
|
||||||
@@ -200,9 +195,6 @@
|
|||||||
<Compile Include="Widgets\Logic\LobbyMapPreviewLogic.cs" />
|
<Compile Include="Widgets\Logic\LobbyMapPreviewLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\ControlGroupLogic.cs" />
|
<Compile Include="Widgets\Logic\ControlGroupLogic.cs" />
|
||||||
<Compile Include="Scripting\Properties\ChronosphereProperties.cs" />
|
<Compile Include="Scripting\Properties\ChronosphereProperties.cs" />
|
||||||
<Compile Include="Lint\CheckPlayers.cs" />
|
|
||||||
<Compile Include="Lint\CheckActors.cs" />
|
|
||||||
<Compile Include="Lint\CheckMapCordon.cs" />
|
|
||||||
<Compile Include="Traits\Parachutable.cs" />
|
<Compile Include="Traits\Parachutable.cs" />
|
||||||
<Compile Include="Widgets\Logic\InstallFromCDLogic.cs" />
|
<Compile Include="Widgets\Logic\InstallFromCDLogic.cs" />
|
||||||
<Compile Include="Widgets\Logic\InstallMusicLogic.cs" />
|
<Compile Include="Widgets\Logic\InstallMusicLogic.cs" />
|
||||||
@@ -219,7 +211,6 @@
|
|||||||
<Compile Include="Scripting\Properties\HarvesterProperties.cs" />
|
<Compile Include="Scripting\Properties\HarvesterProperties.cs" />
|
||||||
<Compile Include="Scripting\Properties\TransportProperties.cs" />
|
<Compile Include="Scripting\Properties\TransportProperties.cs" />
|
||||||
<Compile Include="Traits\InvulnerabilityUpgrade.cs" />
|
<Compile Include="Traits\InvulnerabilityUpgrade.cs" />
|
||||||
<Compile Include="Lint\CheckMapRules.cs" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
|
<ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
|
||||||
|
|||||||
Reference in New Issue
Block a user