Skip to content

Commit 5eda537

Browse files
authored
Merge pull request #36 from jpdillingham/dev
Add nuspec and pack script
2 parents de050f4 + 303253d commit 5eda537

File tree

4 files changed

+27
-1
lines changed

4 files changed

+27
-1
lines changed

Utility.CommandLine.Arguments.sln

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1313
appveyor.yml = appveyor.yml
1414
CONTRIBUTING.md = CONTRIBUTING.md
1515
LICENSE = LICENSE
16+
pack.sh = pack.sh
1617
README.md = README.md
1718
EndProjectSection
1819
EndProject
19-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example", "examples\Example\Example.csproj", "{57E43670-9A19-4235-8552-EAB69404B56C}"
20+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example", "examples\Example\Example.csproj", "{57E43670-9A19-4235-8552-EAB69404B56C}"
2021
EndProject
2122
Global
2223
GlobalSection(SolutionConfigurationPlatforms) = preSolution

src/Utility.CommandLine.Arguments/Utility.CommandLine.Arguments.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<Version>2.0.0</Version>
6+
<AssemblyVersion>2.0.1.0</AssemblyVersion>
67
</PropertyGroup>
78

89
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
3+
<metadata>
4+
<id>Utility.CommandLine.Arguments</id>
5+
<version>2.0.1</version>
6+
<authors>JP Dillingham</authors>
7+
<owners>JP Dillingham</owners>
8+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
9+
<licenseUrl>https://github.com/jpdillingham/Utility.CommandLine.Arguments/blob/master/LICENSE</licenseUrl>
10+
<projectUrl>https://github.com/jpdillingham/Utility.CommandLine.Arguments</projectUrl>
11+
<description>A C# .NET Class Library containing tools for parsing the command line arguments of console applications.</description>
12+
<releaseNotes>Fix NuGet targeting of .NETStard2.0.</releaseNotes>
13+
<copyright>Copyright (c) 2017-2018 JP Dillingham (jp@dillingham.ws)</copyright>
14+
<language>en-US</language>
15+
<dependencies>
16+
<group targetFramework=".NETStandard2.0" />
17+
</dependencies>
18+
</metadata>
19+
<files>
20+
<file src="bin\Release\netstandard2.0\Utility.CommandLine.Arguments.dll" target="lib\netstandard2.0\Utility.CommandLine.Arguments.dll" />
21+
<file src="bin\Release\netstandard2.0\Utility.CommandLine.Arguments.xml" target="lib\netstandard2.0\Utility.CommandLine.Arguments.xml" />
22+
</files>
23+
</package>

tools/pack.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dotnet pack src/Utility.CommandLine.Arguments/Utility.CommandLine.Arguments.csproj -c Release -p:NuspecFile=Utility.CommandLine.Arguments.nuspec

0 commit comments

Comments
 (0)