File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <package >
3+ <metadata >
4+ <id >MatthiWare.CommandLineParser</id >
5+ <version >0.1.0</version >
6+ <title >CommandLineParser.Core</title >
7+ <authors >Matthias Beerens</authors >
8+ <owners >Matthiee</owners >
9+ <licenseUrl >https://github.com/MatthiWare/CommandLineParser.Core/blob/master/LICENSE</licenseUrl >
10+ <projectUrl >https://github.com/MatthiWare/CommandLineParser.Core</projectUrl >
11+ <requireLicenseAcceptance >false</requireLicenseAcceptance >
12+ <description >
13+ Command Line Parser for .Net Core written in .Net Standard.
14+
15+ Configuration is done through a option model class using attributes or fluent api can be used to configure the properties of the class.
16+ This library allows to add commands with their own set of options as well.
17+ </description >
18+ <summary >A simple, light-weight and strongly typed command line parser. Configuration using fluent API and an options class. </summary >
19+ <releaseNotes >Initial release</releaseNotes >
20+ <copyright >Copyright Matthias Beerens 2018</copyright >
21+ <tags >commandline parser commandline-parser</tags >
22+ </metadata >
23+ </package >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var configuration = Argument("configuration", "Release");
1212
1313var project = "CommandLineParser" ;
1414var solution = $ "./{ project } .sln";
15- var commandLineParserProjPath = $ "./{ project } /{ project } .csproj ";
15+ var nuspecFile = $ "./{ project } /{ project } .nuspec ";
1616var tests = $ "./{ project } .Tests/{ project } .Tests.csproj";
1717var publishPath = MakeAbsolute ( Directory ( "./output" ) ) ;
1818var nugetPackageDir = MakeAbsolute ( Directory ( "./nuget" ) ) ;
@@ -77,13 +77,15 @@ Task("Publish-NuGet")
7777 {
7878 BasePath = publishPath ,
7979 OutputDirectory = nugetPackageDir ,
80+ IncludeReferencedProjects = true ,
81+
8082 Properties = new Dictionary < string , string >
8183 {
8284 { "Configuration" , configuration }
8385 }
8486 } ;
8587
86- NuGetPack ( commandLineParserProjPath , nuGetPackSettings ) ;
88+ NuGetPack ( nuspecFile , nuGetPackSettings ) ;
8789
8890 } ) ;
8991
You can’t perform that action at this time.
0 commit comments