Skip to content

Commit edd38d9

Browse files
committed
Add dotnet dependency group. NuSpec.ReferenceGenerator package helps on creating and updating the dependencies in .nuspec file.
1 parent f6a3768 commit edd38d9

4 files changed

Lines changed: 80 additions & 26 deletions

File tree

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ demo/ReadText.Demo/bin/*
66
demo/ReadText.Demo/obj
77
tests/CommandLine.Tests/bin/*
88
tests/CommandLine.Tests/obj
9+
tests/CommandLine.dnx.Tests/bin/*
10+
tests/CommandLine.dnx.Tests/obj
911
tests/CommandLine.Tests.Properties/bin/*
1012
tests/CommandLine.Tests.Properties/obj
1113
src/templates/CSharpTemplate/bin/*
@@ -34,4 +36,6 @@ StyleCop.Cache
3436
*.cache
3537
docs/output/*
3638
artifacts/*
37-
.vs/*
39+
.vs/*
40+
*.xproj.user
41+
*.nuget.targets

nuget/CommandLine.nuspec

Lines changed: 44 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,44 @@
1-
<?xml version='1.0'?>
2-
<package xmlns='http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'>
3-
<metadata>
4-
<id>CommandLineParser</id>
5-
<version>2.0.275-beta</version>
6-
<title>Command Line Parser Library</title>
7-
<authors>Giacomo Stelluti Scala</authors>
8-
<description>Terse syntax C# command line parser for .NET with F# support. The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.</description>
9-
<releaseNotes/>
10-
<copyright>Copyright (c) 2005 - 2015 Giacomo Stelluti Scala</copyright>
11-
<licenseUrl>https://raw.githubusercontent.com/gsscoder/commandline/master/doc/LICENSE</licenseUrl>
12-
<projectUrl>https://github.com/gsscoder/commandline</projectUrl>
13-
<owners>Giacomo Stelluti Scala</owners>
14-
<iconUrl>https://raw.githubusercontent.com/gsscoder/commandline/master/art/CommandLine20.png</iconUrl>
15-
<requireLicenseAcceptance>false</requireLicenseAcceptance>
16-
<tags>command line argument option parser parsing library syntax shell</tags>
17-
</metadata>
18-
<files>
19-
<file src='..\build\CommandLine.dll' target='lib\net40\CommandLine.dll'/>
20-
<file src='..\build\CommandLine.XML' target='lib\net40\CommandLine.XML'/>
21-
<file src='..\build\CommandLine.dll' target='lib\net45\CommandLine.dll'/>
22-
<file src='..\build\CommandLine.XML' target='lib\net45\CommandLine.XML'/>
23-
<file src='.\readme.txt' target='readme.txt'/>
24-
</files>
25-
</package>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>CommandLineParser</id>
5+
<version>2.0.275-beta</version>
6+
<title>Command Line Parser Library</title>
7+
<authors>Giacomo Stelluti Scala</authors>
8+
<description>Terse syntax C# command line parser for .NET with F# support. The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.</description>
9+
<releaseNotes />
10+
<copyright>Copyright (c) 2005 - 2015 Giacomo Stelluti Scala</copyright>
11+
<licenseUrl>https://raw.githubusercontent.com/gsscoder/commandline/master/doc/LICENSE</licenseUrl>
12+
<projectUrl>https://github.com/gsscoder/commandline</projectUrl>
13+
<owners>Giacomo Stelluti Scala</owners>
14+
<iconUrl>https://raw.githubusercontent.com/gsscoder/commandline/master/art/CommandLine20.png</iconUrl>
15+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
16+
<tags>command line argument option parser parsing library syntax shell</tags>
17+
<dependencies>
18+
<group targetFramework="dotnet">
19+
<dependency id="System.Collections" version="4.0.10" />
20+
<dependency id="System.Console" version="4.0.0-beta-23409" />
21+
<dependency id="System.Diagnostics.Debug" version="4.0.10" />
22+
<dependency id="System.Globalization" version="4.0.10" />
23+
<dependency id="System.IO" version="4.0.10" />
24+
<dependency id="System.Linq" version="4.0.0" />
25+
<dependency id="System.Linq.Expressions" version="4.0.10" />
26+
<dependency id="System.Reflection" version="4.0.10" />
27+
<dependency id="System.Reflection.Extensions" version="4.0.1-beta-23409" />
28+
<dependency id="System.Reflection.TypeExtensions" version="4.0.1-beta-23409" />
29+
<dependency id="System.Resources.ResourceManager" version="4.0.0" />
30+
<dependency id="System.Runtime" version="4.0.20" />
31+
<dependency id="System.Runtime.Extensions" version="4.0.10" />
32+
</group>
33+
</dependencies>
34+
</metadata>
35+
<files>
36+
<file src="..\build\CommandLine.dll" target="lib\net40\CommandLine.dll" />
37+
<file src="..\build\CommandLine.XML" target="lib\net40\CommandLine.XML" />
38+
<file src="..\build\CommandLine.dll" target="lib\net45\CommandLine.dll" />
39+
<file src="..\build\CommandLine.XML" target="lib\net45\CommandLine.XML" />
40+
<file src="src\CommandLine.dotnet\bin\portable-dotnet\Release\CommandLine.dll" target="lib\dotnet\CommandLine.dll" />
41+
<file src="src\CommandLine.dotnet\bin\portable-dotnet\Release\CommandLine.xml" target="lib\dotnet\CommandLine.xml" />
42+
<file src=".\readme.txt" target="readme.txt" />
43+
</files>
44+
</package>

src/CommandLine.dotnet/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"Microsoft.CSharp": "4.0.0",
99
"Microsoft.NETCore": "5.0.0",
1010
"Microsoft.NETCore.Portable.Compatibility": "1.0.0",
11+
"NuSpec.ReferenceGenerator": "1.3.6",
1112
"System.Collections.Specialized": "4.0.0",
1213
"System.Console": "4.0.0-beta-23409",
1314
"System.Data.Common": "4.0.0",

src/CommandLine.dotnet/project.lock.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
"lib/dotnet/Microsoft.VisualBasic.dll": {}
138138
}
139139
},
140+
"NuSpec.ReferenceGenerator/1.3.6": {},
140141
"System.AppContext/4.0.0": {
141142
"dependencies": {
142143
"System.Runtime": "[4.0.0, )"
@@ -952,6 +953,7 @@
952953
"lib/net45/_._": {}
953954
}
954955
},
956+
"NuSpec.ReferenceGenerator/1.3.6": {},
955957
"System.AppContext/4.0.0": {
956958
"dependencies": {
957959
"System.Runtime": "[4.0.0, )"
@@ -1766,6 +1768,7 @@
17661768
"lib/dotnet/Microsoft.Win32.Primitives.dll": {}
17671769
}
17681770
},
1771+
"NuSpec.ReferenceGenerator/1.3.6": {},
17691772
"System.AppContext/4.0.0": {
17701773
"dependencies": {
17711774
"System.Runtime": "[4.0.20, )",
@@ -2897,6 +2900,7 @@
28972900
"lib/dotnet/Microsoft.Win32.Primitives.dll": {}
28982901
}
28992902
},
2903+
"NuSpec.ReferenceGenerator/1.3.6": {},
29002904
"System.AppContext/4.0.0": {
29012905
"dependencies": {
29022906
"System.Runtime": "[4.0.0, )"
@@ -3935,6 +3939,7 @@
39353939
"lib/net45/_._": {}
39363940
}
39373941
},
3942+
"NuSpec.ReferenceGenerator/1.3.6": {},
39383943
"System.AppContext/4.0.0": {
39393944
"dependencies": {
39403945
"System.Runtime": "[4.0.0, )"
@@ -4704,6 +4709,7 @@
47044709
"lib/net45/_._": {}
47054710
}
47064711
},
4712+
"NuSpec.ReferenceGenerator/1.3.6": {},
47074713
"System.AppContext/4.0.0": {
47084714
"dependencies": {
47094715
"System.Runtime": "[4.0.0, )"
@@ -5590,6 +5596,7 @@
55905596
"lib/dotnet/Microsoft.Win32.Primitives.dll": {}
55915597
}
55925598
},
5599+
"NuSpec.ReferenceGenerator/1.3.6": {},
55935600
"runtime.win7.System.Console/4.0.0-beta-23409": {
55945601
"dependencies": {
55955602
"System.Runtime": "[4.0.20, )",
@@ -6827,6 +6834,7 @@
68276834
"lib/dotnet/Microsoft.Win32.Primitives.dll": {}
68286835
}
68296836
},
6837+
"NuSpec.ReferenceGenerator/1.3.6": {},
68306838
"runtime.win7.System.Console/4.0.0-beta-23409": {
68316839
"dependencies": {
68326840
"System.Runtime": "[4.0.20, )",
@@ -8041,6 +8049,7 @@
80418049
"lib/dotnet/Microsoft.Win32.Primitives.dll": {}
80428050
}
80438051
},
8052+
"NuSpec.ReferenceGenerator/1.3.6": {},
80448053
"runtime.win7.System.Console/4.0.0-beta-23409": {
80458054
"dependencies": {
80468055
"System.Runtime": "[4.0.20, )",
@@ -9278,6 +9287,7 @@
92789287
"lib/dotnet/Microsoft.Win32.Primitives.dll": {}
92799288
}
92809289
},
9290+
"NuSpec.ReferenceGenerator/1.3.6": {},
92819291
"runtime.win7.System.Console/4.0.0-beta-23409": {
92829292
"dependencies": {
92839293
"System.Runtime": "[4.0.20, )",
@@ -10487,6 +10497,7 @@
1048710497
"lib/dotnet/Microsoft.Win32.Primitives.dll": {}
1048810498
}
1048910499
},
10500+
"NuSpec.ReferenceGenerator/1.3.6": {},
1049010501
"runtime.win7.System.Console/4.0.0-beta-23409": {
1049110502
"dependencies": {
1049210503
"System.Runtime": "[4.0.20, )",
@@ -11724,6 +11735,7 @@
1172411735
"lib/dotnet/Microsoft.Win32.Primitives.dll": {}
1172511736
}
1172611737
},
11738+
"NuSpec.ReferenceGenerator/1.3.6": {},
1172711739
"runtime.win7.System.Console/4.0.0-beta-23409": {
1172811740
"dependencies": {
1172911741
"System.Runtime": "[4.0.20, )",
@@ -13059,6 +13071,7 @@
1305913071
"lib/dotnet/Microsoft.Win32.Primitives.dll": {}
1306013072
}
1306113073
},
13074+
"NuSpec.ReferenceGenerator/1.3.6": {},
1306213075
"runtime.win7.System.Console/4.0.0-beta-23409": {
1306313076
"dependencies": {
1306413077
"System.Runtime": "[4.0.20, )",
@@ -14399,6 +14412,7 @@
1439914412
"lib/dotnet/Microsoft.Win32.Primitives.dll": {}
1440014413
}
1440114414
},
14415+
"NuSpec.ReferenceGenerator/1.3.6": {},
1440214416
"runtime.win7.System.Console/4.0.0-beta-23409": {
1440314417
"dependencies": {
1440414418
"System.Runtime": "[4.0.20, )",
@@ -16069,6 +16083,21 @@
1606916083
"[Content_Types].xml"
1607016084
]
1607116085
},
16086+
"NuSpec.ReferenceGenerator/1.3.6": {
16087+
"sha512": "yG6AlB31sYNXia+zXUazvwuDD5b9fCEZrtxe+4EYbieaGwtUNOl2bWKkfKVaWnx9Fv9Wvw2x/VYs43bszHrhHw==",
16088+
"type": "Package",
16089+
"files": [
16090+
"_rels/.rels",
16091+
"NuSpec.ReferenceGenerator.nuspec",
16092+
"build/dotnet/NuSpec.ReferenceGenerator.targets",
16093+
"build/portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10/NuSpec.ReferenceGenerator.targets",
16094+
"tools/RefGen.exe",
16095+
"tools/RefGen.exe.config",
16096+
"tools/RefGen.pdb",
16097+
"package/services/metadata/core-properties/ce265f07238948b889fc06c729ad2743.psmdcp",
16098+
"[Content_Types].xml"
16099+
]
16100+
},
1607216101
"runtime.win7.System.Console/4.0.0-beta-23409": {
1607316102
"sha512": "NMFGQxP/3qlBYknm/9RcdlDNh7A+B+d1d3qaQlV7mHqjHmgB/IOEGWvToEl3PbVOZIq0kjdx7TbRmOJxW0aE0A==",
1607416103
"type": "Package",
@@ -18289,6 +18318,7 @@
1828918318
"Microsoft.CSharp >= 4.0.0",
1829018319
"Microsoft.NETCore >= 5.0.0",
1829118320
"Microsoft.NETCore.Portable.Compatibility >= 1.0.0",
18321+
"NuSpec.ReferenceGenerator >= 1.3.6",
1829218322
"System.Collections.Specialized >= 4.0.0",
1829318323
"System.Console >= 4.0.0-beta-23409",
1829418324
"System.Data.Common >= 4.0.0",

0 commit comments

Comments
 (0)