Skip to content

Commit

Permalink
Merge pull request #1 from OddDotNet/tkenna/feature/nuget-client
Browse files Browse the repository at this point in the history
feat: Create Nuget Package
  • Loading branch information
DoubleTK authored Sep 26, 2024
2 parents a0a6549 + 7061cbe commit 4b1998b
Show file tree
Hide file tree
Showing 10 changed files with 114 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -396,3 +396,30 @@ FodyWeavers.xsd

# JetBrains Rider
*.sln.iml

# Common IntelliJ Platform excludes

# User specific
.idea/**/workspace.xml
**/.idea/**/workspace.xml
**/.idea/**/tasks.xml
**/.idea/shelf/*
**/.idea/dictionaries
**/.idea/httpRequests/

# Sensitive or high-churn files
**/.idea/**/dataSources/
**/.idea/**/dataSources.ids
**/.idea/**/dataSources.xml
**/.idea/**/dataSources.local.xml
**/.idea/**/sqlDataSources.xml
**/.idea/**/dynamic.xml

# Rider
# Rider auto-generates .iml files, and contentModel.xml
**/.idea/**/*.iml
**/.idea/**/contentModel.xml
**/.idea/**/modules.xml

# Mac stuff
.DS_Store
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/OddDotCSharp/OddDotProto"]
path = src/OddDotCSharp/OddDotProto
url = https://github.com/OddDotNet/OddDotProto.git
13 changes: 13 additions & 0 deletions .idea/.idea.OddDotCSharp/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/.idea.OddDotCSharp/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
workflow: GitHubFlow/v1
next-version: 0.0.1
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
22 changes: 22 additions & 0 deletions OddDotCSharp.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OddDotCSharp", "src\OddDotCSharp\OddDotCSharp.csproj", "{5BBF0EC3-E6E8-4F24-B322-837BD927E77C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5BBF0EC3-E6E8-4F24-B322-837BD927E77C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5BBF0EC3-E6E8-4F24-B322-837BD927E77C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5BBF0EC3-E6E8-4F24-B322-837BD927E77C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5BBF0EC3-E6E8-4F24-B322-837BD927E77C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# OddDotCSharp
C# Client and Builder for communicating with OddDotNet
C# Client and Builder for communicating with OddDotNet
38 changes: 38 additions & 0 deletions src/OddDotCSharp/OddDotCSharp.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GitVersionTargetFramework>net8.0</GitVersionTargetFramework>
<LangVersion>12.0</LangVersion>
</PropertyGroup>

<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<PackageId>OddDotNet.Client</PackageId>
<PackageTags>OddDotNet</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GitVersion.MsBuild" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Google.Protobuf" Version="3.28.2" />
<PackageReference Include="Grpc.Core.Api" Version="2.66.0" />
<PackageReference Include="Grpc.Tools" Version="2.66.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<!-- Internal proto definitions -->
<ItemGroup>
<Protobuf Include="OddDotProto/**/*.proto" GrpcServices="Client" ProtoRoot="OddDotProto/"/>
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions src/OddDotCSharp/OddDotProto
Submodule OddDotProto added at bd425f

0 comments on commit 4b1998b

Please sign in to comment.