Skip to content

Commit

Permalink
Rename projects and clean up files that should be ignored.
Browse files Browse the repository at this point in the history
  • Loading branch information
julian94 committed Nov 7, 2021
1 parent de7bd6d commit 374c552
Show file tree
Hide file tree
Showing 35 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ Thumbs.db
/.vs/slnx.sqlite
/.vs/Maps/config/applicationhost.config
*.testlog
/.vs/Maps/v17/TestStore/0/testlog.manifest
.vs/Maps/v17/
Binary file removed .vs/Maps/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file removed .vs/Maps/v17/.futdcache.v1
Binary file not shown.
Binary file removed .vs/Maps/v17/fileList.bin
Binary file not shown.
10 changes: 5 additions & 5 deletions Maps.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ VisualStudioVersion = 17.0.31612.314
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maps", "Maps.csproj", "{02AE6284-5044-4A23-B5D6-A86EE9C7DFA1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TravellerCore", "TravellerCore\TravellerCore.csproj", "{1A696030-E073-4053-818D-E8EB72C71A52}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Traveller.Core", "Traveller.Core\Traveller.Core.csproj", "{1A696030-E073-4053-818D-E8EB72C71A52}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TravellerParser", "TravellerParser\TravellerParser.csproj", "{83D4E6B0-9905-4AFE-8D39-674889B56280}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Traveller.Parser", "Traveller.Parser\Traveller.Parser.csproj", "{83D4E6B0-9905-4AFE-8D39-674889B56280}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TravellerAPI", "TravellerAPI\TravellerAPI.csproj", "{6DFF70C4-5DE4-44CC-8CF1-B7F145CDF89E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Traveller.API", "Traveller.API\Traveller.API.csproj", "{6DFF70C4-5DE4-44CC-8CF1-B7F145CDF89E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TravellerCoreTests", "TravellerCoreTests\TravellerCoreTests.csproj", "{F63CD1A5-C454-4F7C-9F4F-68099B4A634D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Traveller.Tests.Core", "Traveller.Tests.Core\Traveller.Tests.Core.csproj", "{F63CD1A5-C454-4F7C-9F4F-68099B4A634D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TravellerRenderer", "TravellerRenderer\TravellerRenderer.csproj", "{4D7C0D8F-5910-4FE1-8620-EB0F84716C48}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Traveller.Renderer", "Traveller.Renderer\Traveller.Renderer.csproj", "{4D7C0D8F-5910-4FE1-8620-EB0F84716C48}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion TravellerAPI/Program.cs → Traveller.API/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.OpenApi.Models;
using TravellerParser;
using Traveller.Parser;

var builder = WebApplication.CreateBuilder(args);

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
Expand All @@ -13,8 +13,8 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\TravellerCore\TravellerCore.csproj" />
<ProjectReference Include="..\TravellerParser\TravellerParser.csproj" />
<ProjectReference Include="..\Traveller.Core\Traveller.Core.csproj" />
<ProjectReference Include="..\Traveller.Parser\Traveller.Parser.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TravellerCore.Features;
namespace Traveller.Core.Features;
public class Constants
{
public class Dimensions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TravellerCore.Features;
namespace Traveller.Core.Features;
public class Galaxy : IWorldHolder
{
public Metadata Metadata { get; init; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TravellerCore.Features;
namespace Traveller.Core.Features;
public interface IWorldHolder
{
public Metadata Metadata { get; init; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TravellerCore.Features;
namespace Traveller.Core.Features;
public class Metadata
{
public string? Title { get; init; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TravellerCore.Features;
namespace Traveller.Core.Features;
public class Position
{
/// <summary>Trailing / Right</summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TravellerCore.Features;
namespace Traveller.Core.Features;
public class Quadrant : IWorldHolder
{
public Metadata Metadata { get; init; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TravellerCore.Features;
namespace Traveller.Core.Features;
public class Sector : IWorldHolder
{
public Metadata Metadata { get; init; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TravellerCore.Features;
namespace Traveller.Core.Features;
public class SubSector : IWorldHolder
{
public Metadata Metadata { get; init; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Text.RegularExpressions;

namespace TravellerCore.Features;
namespace Traveller.Core.Features;
public class World
{
public string Name { get; init; }
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TravellerCore.Features;
using Traveller.Core.Features;

namespace TravellerCore.Util;
namespace Traveller.Core.Util;


/* Traveller uses a “odd-q” vertical layout, which shoves odd columns down
Expand Down
2 changes: 1 addition & 1 deletion TravellerParser/IParser.cs → Traveller.Parser/IParser.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TravellerParser;
namespace Traveller.Parser;
public interface IParser
{
public bool CanParse(string extension);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Text.Json;

namespace TravellerParser;
namespace Traveller.Parser;
public class JsonParser: IParser
{
public const string JsonExtension = "json";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TravellerCore\TravellerCore.csproj" />
<ProjectReference Include="..\Traveller.Core\Traveller.Core.csproj" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions Traveller.Parser/Using.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using Traveller.Core.Features;
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TravellerCore\TravellerCore.csproj" />
<ProjectReference Include="..\Traveller.Core\Traveller.Core.csproj" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions Traveller.Renderer/Using.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
global using Traveller.Core.Features;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using NUnit.Framework;
using TravellerCore.Features;
using TravellerCore.Util;
using Traveller.Core.Features;
using Traveller.Core.Util;

namespace TravellerCoreTests;
public class AstronomyTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\TravellerCore\TravellerCore.csproj" />
<ProjectReference Include="..\Traveller.Core\Traveller.Core.csproj" />
</ItemGroup>

</Project>
1 change: 0 additions & 1 deletion TravellerParser/Using.cs

This file was deleted.

1 change: 0 additions & 1 deletion TravellerRenderer/Using.cs

This file was deleted.

0 comments on commit 374c552

Please sign in to comment.