Skip to content

Commit 994ec0a

Browse files
committed
Updated Rakefile and NuGet readme.
1 parent 19a21ae commit 994ec0a

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

Rakefile.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,12 @@ def invoke_runtime(cmd)
108108
nuspec.tags = "command line argument option parser parsing library syntax shell"
109109
nuspec.iconUrl = "https://github.com/gsscoder/commandline/raw/master/art/CommandLine.png"
110110

111-
nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/#{LIB_ASM}"), to_win_path("lib/#{LIB_ASM}")
112-
nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/#{LIB_XML}"), to_win_path("lib/#{LIB_XML}")
111+
nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/NET35/#{LIB_ASM}"), to_win_path("lib/net35/#{LIB_ASM}")
112+
nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/NET35/#{LIB_XML}"), to_win_path("lib/net35/#{LIB_XML}")
113+
nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/#{LIB_ASM}"), to_win_path("lib/net40/#{LIB_ASM}")
114+
nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/#{LIB_XML}"), to_win_path("lib/net40/#{LIB_XML}")
115+
nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/#{LIB_ASM}"), to_win_path("lib/net45/#{LIB_ASM}")
116+
nuspec.file to_win_path("#{PJ_OUTPUT_DIR}/#{LIB_XML}"), to_win_path("lib/net45/#{LIB_XML}")
113117
nuspec.file to_win_path("#{NUGET_DIR}/readme.txt"), "readme.txt"
114118

115119
nuspec.output_file = "#{NUGET_DIR}/CommandLine.nuspec"

nuget/CommandLine.nuspec

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@
1616
<tags>command line argument option parser parsing library syntax shell</tags>
1717
</metadata>
1818
<files>
19-
<file src='P:\CommandLine\src\libcmdline\bin\Release\CommandLine.dll' target='lib\CommandLine.dll'/>
20-
<file src='P:\CommandLine\src\libcmdline\bin\Release\CommandLine.xml' target='lib\CommandLine.xml'/>
21-
<file src='P:\CommandLine\nuget\readme.txt' target='readme.txt'/>
19+
<file src='C:\Projects\CommandLine\src\libcmdline\bin\Release\NET35\CommandLine.dll' target='lib\net35\CommandLine.dll'/>
20+
<file src='C:\Projects\CommandLine\src\libcmdline\bin\Release\NET35\CommandLine.xml' target='lib\net35\CommandLine.xml'/>
21+
<file src='C:\Projects\CommandLine\src\libcmdline\bin\Release\CommandLine.dll' target='lib\net40\CommandLine.dll'/>
22+
<file src='C:\Projects\CommandLine\src\libcmdline\bin\Release\CommandLine.xml' target='lib\net40\CommandLine.xml'/>
23+
<file src='C:\Projects\CommandLine\src\libcmdline\bin\Release\CommandLine.dll' target='lib\net45\CommandLine.dll'/>
24+
<file src='C:\Projects\CommandLine\src\libcmdline\bin\Release\CommandLine.xml' target='lib\net45\CommandLine.xml'/>
25+
<file src='C:\Projects\CommandLine\nuget\readme.txt' target='readme.txt'/>
2226
</files>
2327
</package>

nuget/readme.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
Command Line Parser Library 1.9.6.1 rc1
2-
---------------------------------------
1+
Command Line Parser Library 1.9.7 stable
2+
----------------------------------------
33
Giacomo Stelluti Scala
44
55

66
GitHub (Latest Sources, Updated Docs): https://github.com/gsscoder/commandline
77
Codeplex (Binary Downloads): http://commandline.codeplex.com/
88

9+
Remarks:
10+
- IParser and IParserSettings interface were removed.
11+
912
Upgrading from < 1.9.6.1 rc1:
1013
-----------------------------
1114
Now CommandLine.Parser is defiend as:
12-
interface CommandLine.IParser {
15+
interface CommandLine.Parser {
1316
bool ParseArguments(string[] args, object options);
1417
bool ParseArguments(string[] args, object options, Action<string, object> onVerbCommand);
1518
bool ParseArgumentsStrict(string[] args, object options, Action onFail = null);

0 commit comments

Comments
 (0)