change name to MoonTools.Structs
parent
2dbf5e22f7
commit
05e1b2f8db
|
@ -18,7 +18,7 @@ steps:
|
||||||
API_KEY:
|
API_KEY:
|
||||||
from_secret: API_KEY
|
from_secret: API_KEY
|
||||||
commands:
|
commands:
|
||||||
- dotnet nuget push /build/Structs/bin/Release/MoonTools.Core.Structs.*.nupkg -s https://api.nuget.org/v3/index.json -k $API_KEY
|
- dotnet nuget push /build/Structs/bin/Release/MoonTools.Structs.*.nupkg -s https://api.nuget.org/v3/index.json -k $API_KEY
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/*.*.*
|
- refs/tags/*.*.*
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# MoonTools.Core.Structs
|
# MoonTools.Structs
|
||||||
|
|
||||||
[![NuGet Badge](https://buildstats.info/nuget/MoonTools.Core.Structs)](https://www.nuget.org/packages/MoonTools.Core.Structs/)
|
[![NuGet Badge](https://buildstats.info/nuget/MoonTools.Structs)](https://www.nuget.org/packages/MoonTools.Structs/)
|
||||||
[![Build Status](https://drone.moonside.games/api/badges/MoonsideGames/MoonTools.Core.Structs/status.svg)](https://drone.moonside.games/MoonsideGames/MoonTools.Core.Structs)
|
[![Build Status](https://drone.moonside.games/api/badges/MoonsideGames/MoonTools.Structs/status.svg)](https://drone.moonside.games/MoonsideGames/MoonTools.Structs)
|
||||||
|
|
||||||
This library contains structs that are generally useful in other MoonTools libraries.
|
This library contains structs that are generally useful in other MoonTools libraries.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
|
|
||||||
namespace MoonTools.Core.Structs
|
namespace MoonTools.Structs
|
||||||
{
|
{
|
||||||
public struct Position2D : IEquatable<Position2D>
|
public struct Position2D : IEquatable<Position2D>
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
<RootNamespace>MoonTools.Core.Structs</RootNamespace>
|
<RootNamespace>MoonTools.Structs</RootNamespace>
|
||||||
<PackageId>MoonTools.Core.Structs</PackageId>
|
<PackageId>MoonTools.Structs</PackageId>
|
||||||
<Version>3.0.1</Version>
|
<Version>3.0.1</Version>
|
||||||
<Authors>Evan Hemsley</Authors>
|
<Authors>Evan Hemsley</Authors>
|
||||||
<Company>Moonside Games</Company>
|
<Company>Moonside Games</Company>
|
||||||
|
@ -10,8 +10,8 @@
|
||||||
<Copyright>Evan Hemsley 2020</Copyright>
|
<Copyright>Evan Hemsley 2020</Copyright>
|
||||||
<Description>.NET Core Utility Structs for MonoGame</Description>
|
<Description>.NET Core Utility Structs for MonoGame</Description>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||||
<AssemblyName>MoonTools.Core.Structs</AssemblyName>
|
<AssemblyName>MoonTools.Structs</AssemblyName>
|
||||||
<PackageProjectUrl>https://github.com/MoonsideGames/MoonTools.Core.Structs</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/MoonsideGames/MoonTools.Structs</PackageProjectUrl>
|
||||||
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
|
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
|
|
||||||
namespace MoonTools.Core.Structs
|
namespace MoonTools.Structs
|
||||||
{
|
{
|
||||||
public struct Transform2D : IEquatable<Transform2D>
|
public struct Transform2D : IEquatable<Transform2D>
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
using FluentAssertions;
|
using FluentAssertions;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
|
|
||||||
using MoonTools.Core.Structs;
|
using MoonTools.Structs;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
|
|
||||||
namespace Tests
|
namespace Tests
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
using FluentAssertions;
|
using FluentAssertions;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
|
|
||||||
using MoonTools.Core.Structs;
|
using MoonTools.Structs;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
|
|
||||||
namespace Tests
|
namespace Tests
|
||||||
|
@ -65,4 +65,4 @@ namespace Tests
|
||||||
Vector2.Transform(new Vector2(-1, 0), transformC.TransformMatrix).Should().Be(new Vector2(-5, 0));
|
Vector2.Transform(new Vector2(-1, 0), transformC.TransformMatrix).Should().Be(new Vector2(-5, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue