Skip to content

Commit

Permalink
Renaming to monogame grid
Browse files Browse the repository at this point in the history
  • Loading branch information
tspayne87 committed Oct 26, 2022
1 parent b8fe62a commit ac1d3dc
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- name: Test
run: dotnet test --no-build --verbosity normal --configuration Release
- name: Pack
run: dotnet pack Grid.Structure/Grid.Structure.csproj --no-build --output dist --configuration Release
run: dotnet pack MonoGame.Grid/MonoGame.Grid.csproj --no-build --output dist --configuration Release
- name: Push
run: dotnet nuget push dist/Grid.Structure.${VERSION}.nupkg --api-key ${API_KEY} --source https://api.nuget.org/v3/index.json
run: dotnet nuget push dist/MonoGame.Grid.${VERSION}.nupkg --api-key ${API_KEY} --source https://api.nuget.org/v3/index.json
env:
API_KEY: ${{ secrets.API_KEY }}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Grid.Structure.Extensions;
using Grid.Structure.Test.Shapes;
using MonoGame.Grid.Extensions;
using MonoGame.Grid.Test.Shapes;

namespace Grid.Structure.Test
namespace MonoGame.Grid.Test
{
public class GridTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Grid.Structure\Grid.Structure.csproj" />
<ProjectReference Include="..\MonoGame.Grid\MonoGame.Grid.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Grid.Structure.Extensions;
using MonoGame.Grid.Extensions;
using Microsoft.Xna.Framework;

namespace Grid.Structure.Test.Shapes
namespace MonoGame.Grid.Test.Shapes
{
internal class LineShape : IShape<string>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Grid.Structure.Extensions;
using MonoGame.Grid.Extensions;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
Expand All @@ -7,7 +7,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Grid.Structure.Test.Shapes
namespace MonoGame.Grid.Test.Shapes
{
internal class SquareShape : IShape<string>
{
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions Grid.Structure.sln → MonoGame.Grid.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32825.248
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Grid.Structure", "Grid.Structure\Grid.Structure.csproj", "{2650E3E8-95DF-4F78-9CD2-E12F406D7E50}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Grid", "MonoGame.Grid\MonoGame.Grid.csproj", "{2650E3E8-95DF-4F78-9CD2-E12F406D7E50}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Grid.Structure.Test", "Grid.Structure.Test\Grid.Structure.Test.csproj", "{18B98AF6-4148-4428-9C9E-24D3EC6B370F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Grid.Test", "MonoGame.Grid.Test\MonoGame.Grid.Test.csproj", "{18B98AF6-4148-4428-9C9E-24D3EC6B370F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.Xna.Framework;
using System.Runtime.InteropServices;

namespace Grid.Structure.Extensions
namespace MonoGame.Grid.Extensions
{
public static class FindGroupGridExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.Xna.Framework;

namespace Grid.Structure.Extensions
namespace MonoGame.Grid.Extensions
{
public static class IntExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.Xna.Framework;

namespace Grid.Structure.Extensions
namespace MonoGame.Grid.Extensions
{
/// <summary>
/// Result object meant to group results together to give information on what shapes were found
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.Xna.Framework;

namespace Grid.Structure.Extensions
namespace MonoGame.Grid.Extensions
{
/// <summary>
/// The shape we are searching for when looking on a grid
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.Xna.Framework;

namespace Grid.Structure.Extensions
namespace MonoGame.Grid.Extensions
{
public static class PointExtensions
{
Expand Down
2 changes: 1 addition & 1 deletion Grid.Structure/Grid.cs → MonoGame.Grid/Grid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections;
using System.Runtime.CompilerServices;

namespace Grid.Structure
namespace MonoGame.Grid
{
public class Grid<TValue> : IGrid<TValue>
{
Expand Down
2 changes: 1 addition & 1 deletion Grid.Structure/IGrid.cs → MonoGame.Grid/IGrid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Grid.Structure
namespace MonoGame.Grid
{
/// <summary>
/// Grid interface meant to create a grid type object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<PackageId>Grid.Structure</PackageId>
<PackageId>MonoGame.Grid</PackageId>
<Authors>Terry Payne</Authors>
<Company>Terry Payne</Company>
<RepositoryType>git</RepositoryType>
Expand Down

0 comments on commit ac1d3dc

Please sign in to comment.