Skip to content

Commit

Permalink
Publish package on NuGet.org
Browse files Browse the repository at this point in the history
  • Loading branch information
MJB222398 committed Jul 4, 2021
1 parent 3601e64 commit da491aa
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Abstractions.DateAndTime/Abstractions.DateAndTime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,29 @@

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Authors>MJB222398</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>Abstractions.DateAndTime</PackageId>
<Description>A simple library for abstracting static properties such as 'Now', 'UtcNow' and 'Today' in .NET's 'System.DateTime' and 'System.DateTimeOffset' structs so that methods using these can be unit tested</Description>
<PackageProjectUrl>https://github.com/MJB222398/Abstractions.DateAndTime</PackageProjectUrl>
<RepositoryUrl>https://github.com/MJB222398/Abstractions.DateAndTime.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>datetime datetimeoffset abstractions faking mocking unittesting</PackageTags>
<PackageReleaseNotes>Initial release</PackageReleaseNotes>
<PackageIcon>icon.png</PackageIcon>
<PackageIconUrl />
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
</ItemGroup>

<ItemGroup>
<None Include="Images\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

</Project>
Binary file added Abstractions.DateAndTime/Images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
![CI Build](https://github.com/MJB222398/Abstractions.DateAndTime/actions/workflows/ci.yml/badge.svg)
[![NuGet version (Abstractions.DateAndTime)](https://img.shields.io/nuget/v/Abstractions.DateAndTime.svg)](https://www.nuget.org/packages/Abstractions.DateAndTime)

# Abstractions.DateAndTime
A simple library for abstracting the static properties in .NET's `System.DateTime` and `System.DateTimeOffset`.
Expand Down

0 comments on commit da491aa

Please sign in to comment.