Skip to content

Commit

Permalink
Add nuget package information
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-weiland committed Oct 9, 2022
1 parent 380b2e8 commit 5a086b1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
28 changes: 28 additions & 0 deletions RiptideNetworking/RiptideNetworking/RiptideNetworking.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@
<TargetFramework>netstandard2.0</TargetFramework>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<RootNamespace>Riptide</RootNamespace>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>RiptideNetworking.Riptide</PackageId>
<Authors>Tom Weiland</Authors>
<Product>Riptide Networking</Product>
<VersionPrefix>2.0.0</VersionPrefix>
<PackageTags>riptide;networking;multiplayer;game development;server;client;multiplayer games;udp;rudp</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://riptide.tomweiland.net/</PackageProjectUrl>
<RepositoryUrl>https://github.com/RiptideNetworking/Riptide</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>Riptide Networking is a lightweight C# networking library primarily designed for use in multiplayer games.</Description>
<Copyright>Copyright © Tom Weiland 2022</Copyright>
<RepositoryType>git</RepositoryType>
<PackageIcon>package-icon.png</PackageIcon>
<PackageReleaseNotes>Release notes: https://riptide.tomweiland.net/manual/updates/release-notes/v2.0.0.html
Update guide: https://riptide.tomweiland.net/manual/updates/guides/updating-to-v2.html</PackageReleaseNotes>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand All @@ -22,6 +39,17 @@
<UPMSourceFiles Include="$(ProjectDir)\**\*.cs" Exclude="$(ProjectDir)\obj\**\*.*" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\package-icon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Copy Condition="'$(SolutionName)'=='RiptideNetworking'" SourceFiles="@(UPMSourceFiles)" DestinationFiles="@(UPMSourceFiles->'$(SolutionDir)..\Packages\Core\Runtime\Core\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
</Target>
Expand Down
11 changes: 11 additions & 0 deletions RiptideNetworking/nuget-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Riptide Networking

Riptide Networking is a lightweight C# networking library primarily designed for use in multiplayer games. It can be used in Unity as well as in other .NET environments such as console applications.

It provides functionality for establishing connections and sending data back and forth, leaving it up to you to decide what data you want to send and when. This is ideal if you like to be in control of your code and know what's going on under the hood.

Riptide is 100% free to use under the [MIT license](https://github.com/RiptideNetworking/Riptide/blob/main/LICENSE.md) and its development is only funded by [donations](https://github.com/sponsors/tom-weiland).

## Getting Started

Check out the documentation for [installation instructions](https://riptide.tomweiland.net/manual/overview/installation.html) and a [guide on setting up the basics](https://riptide.tomweiland.net/manual/overview/getting-started.html).
Binary file added RiptideNetworking/package-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5a086b1

Please sign in to comment.