rename RALint → OpenRA.Lint
This commit is contained in:
12
Makefile
12
Makefile
@@ -183,8 +183,8 @@ OpenRA.Editor.Form1.resources:
|
|||||||
editor: OpenRA.Editor.MapSelect.resources OpenRA.Editor.Form1.resources $(editor_TARGET)
|
editor: OpenRA.Editor.MapSelect.resources OpenRA.Editor.Form1.resources $(editor_TARGET)
|
||||||
|
|
||||||
# Analyses mod yaml for easy to detect errors
|
# Analyses mod yaml for easy to detect errors
|
||||||
ralint_SRCS := $(shell find RALint/ -iname '*.cs')
|
ralint_SRCS := $(shell find OpenRA.Lint/ -iname '*.cs')
|
||||||
ralint_TARGET = RALint.exe
|
ralint_TARGET = OpenRA.Lint.exe
|
||||||
ralint_KIND = exe
|
ralint_KIND = exe
|
||||||
ralint_DEPS = $(fileformats_TARGET) $(game_TARGET)
|
ralint_DEPS = $(fileformats_TARGET) $(game_TARGET)
|
||||||
ralint_LIBS = $(COMMON_LIBS) $(ralint_DEPS)
|
ralint_LIBS = $(COMMON_LIBS) $(ralint_DEPS)
|
||||||
@@ -192,13 +192,13 @@ PROGRAMS += ralint
|
|||||||
ralint: $(ralint_TARGET)
|
ralint: $(ralint_TARGET)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@mono --debug RALint.exe ra
|
@mono --debug OpenRA.Lint.exe ra
|
||||||
@echo "OpenRA.Lint: ra mod yaml checks passed."
|
@echo "OpenRA.Lint: ra mod yaml checks passed."
|
||||||
@mono --debug RALint.exe cnc
|
@mono --debug OpenRA.Lint.exe cnc
|
||||||
@echo "OpenRA.Lint: cnc mod yaml checks passed."
|
@echo "OpenRA.Lint: cnc mod yaml checks passed."
|
||||||
@mono --debug RALint.exe d2k
|
@mono --debug OpenRA.Lint.exe d2k
|
||||||
@echo "OpenRA.Lint: d2k mod yaml checks passed."
|
@echo "OpenRA.Lint: d2k mod yaml checks passed."
|
||||||
@mono --debug RALint.exe ts
|
@mono --debug OpenRA.Lint.exe ts
|
||||||
@echo "OpenRA.Lint: ts mod yaml checks passed."
|
@echo "OpenRA.Lint: ts mod yaml checks passed."
|
||||||
|
|
||||||
# Builds and exports tilesets from a bitmap
|
# Builds and exports tilesets from a bitmap
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
<ProjectGuid>{F9FA4D9F-2302-470A-8A07-6E37F488C124}</ProjectGuid>
|
<ProjectGuid>{F9FA4D9F-2302-470A-8A07-6E37F488C124}</ProjectGuid>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>RALint</RootNamespace>
|
<RootNamespace>OpenRA</RootNamespace>
|
||||||
<AssemblyName>RALint</AssemblyName>
|
<AssemblyName>OpenRA.Lint</AssemblyName>
|
||||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<FileUpgradeFlags>
|
<FileUpgradeFlags>
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>..\</OutputPath>
|
<OutputPath>..</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="RALint.cs" />
|
<Compile Include="YamlChecker.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">
|
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">
|
||||||
@@ -14,21 +14,21 @@ using OpenRA;
|
|||||||
using OpenRA.FileFormats;
|
using OpenRA.FileFormats;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace RALint
|
namespace OpenRA.Lint
|
||||||
{
|
{
|
||||||
static class RALint
|
static class YamlChecker
|
||||||
{
|
{
|
||||||
static int errors = 0;
|
static int errors = 0;
|
||||||
|
|
||||||
static void EmitError(string e)
|
static void EmitError(string e)
|
||||||
{
|
{
|
||||||
Console.WriteLine("RALint(1,1): Error: {0}", e);
|
Console.WriteLine("OpenRA.Lint(1,1): Error: {0}", e);
|
||||||
++errors;
|
++errors;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void EmitWarning(string e)
|
static void EmitWarning(string e)
|
||||||
{
|
{
|
||||||
Console.WriteLine("RALint(1,1): Warning: {0}", e);
|
Console.WriteLine("OpenRA.Lint(1,1): Warning: {0}", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int Main(string[] args)
|
static int Main(string[] args)
|
||||||
@@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenRA.Editor", "OpenRA.Edi
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenRA.TilesetBuilder", "OpenRA.TilesetBuilder\OpenRA.TilesetBuilder.csproj", "{1A8E50CC-EE32-4E57-8842-0C39C8EA7541}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenRA.TilesetBuilder", "OpenRA.TilesetBuilder\OpenRA.TilesetBuilder.csproj", "{1A8E50CC-EE32-4E57-8842-0C39C8EA7541}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RALint", "RALint\RALint.csproj", "{F9FA4D9F-2302-470A-8A07-6E37F488C124}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenRA.Lint", "OpenRA.Lint\OpenRA.Lint.csproj", "{F9FA4D9F-2302-470A-8A07-6E37F488C124}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenRA.Utility", "OpenRA.Utility\OpenRA.Utility.csproj", "{F33337BE-CB69-4B24-850F-07D23E408DDF}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenRA.Utility", "OpenRA.Utility\OpenRA.Utility.csproj", "{F33337BE-CB69-4B24-850F-07D23E408DDF}"
|
||||||
EndProject
|
EndProject
|
||||||
|
|||||||
Reference in New Issue
Block a user