File tree 13 files changed +42
-142
lines changed
13 files changed +42
-142
lines changed Original file line number Diff line number Diff line change 1
1
PRODUCT = "Command Line Parser Library"
2
2
DESCRIPTION = "Command Line Parser Library allows CLR applications to define a syntax for parsing command line arguments."
3
- VERSION = "1.9.4.125"
3
+ INF_VERSION = "1.9"
4
+ VERSION = INF_VERSION + ".4.131"
4
5
COPYRIGHT = "Copyright (c) 2005 - 2013 Giacomo Stelluti Scala"
5
6
LICENSE_URL = "https://raw.github.com/gsscoder/commandline/master/doc/LICENSE"
6
7
PROJECT_URL = "https://github.com/gsscoder/commandline"
@@ -66,6 +67,16 @@ def invoke_runtime(cmd)
66
67
sh "#{ invstrtool } -i #{ LIB_DIR } /Internal/SR.strings -n CommandLine.Internal"
67
68
end
68
69
70
+ assemblyinfo :assemblyinfo do |a |
71
+ a . product_name = PRODUCT
72
+ #a.description = DESCRIPTION
73
+ a . version = a . file_version = VERSION
74
+ a . copyright = COPYRIGHT
75
+ a . custom_attributes :AssemblyInformationalVersion => INF_VERSION , :NeutralResourcesLanguage => "en-US"
76
+ a . output_file = "src/CommonAssemblyInfo.cs"
77
+ a . namespaces "System.Runtime.CompilerServices" , "System.Resources"
78
+ end
79
+
69
80
task :clean do
70
81
FileUtils . rm_rf BUILD_DIR
71
82
FileUtils . rm_rf "src/libcmdline/bin"
Original file line number Diff line number Diff line change
1
+ 2013-01-24 Giacomo Stelluti Scala <
[email protected] >
2
+
3
+ * src/CommonAssemblyInfo.cs generated with Rakefile.rb.
4
+
1
5
2013-01-23 Giacomo Stelluti Scala <
[email protected] >
2
6
3
7
* All CommandLineParser partials merged.
Original file line number Diff line number Diff line change
1
+ using System . Runtime . CompilerServices ;
2
+ using System . Resources ;
3
+ using System . Reflection ;
4
+ using System . Runtime . InteropServices ;
5
+ [ assembly: AssemblyProduct ( "Command Line Parser Library" ) ]
6
+ [ assembly: AssemblyCopyright ( "Copyright (c) 2005 - 2013 Giacomo Stelluti Scala" ) ]
7
+ [ assembly: AssemblyVersion ( "1.9.4.131" ) ]
8
+ [ assembly: AssemblyFileVersion ( "1.9.4.131" ) ]
9
+
10
+ [ assembly: AssemblyInformationalVersion ( "1.9" ) ]
11
+ [ assembly: NeutralResourcesLanguage ( "en-US" ) ]
Original file line number Diff line number Diff line change 75
75
</Compile >
76
76
<Compile Include =" Program.cs" />
77
77
<Compile Include =" Properties\AssemblyInfo.cs" />
78
- <Compile Include =" Properties\ThisAssembly.cs" />
79
78
<Compile Include =" ..\libcmdline\Internal\ArgumentParser.cs" >
80
79
<Link >Library\Internal\ArgumentParser.cs</Link >
81
80
</Compile >
148
147
<Compile Include =" ..\libcmdline\Attributes\VerbOptionAttribute.cs" >
149
148
<Link >Library\Attributes\VerbOptionAttribute.cs</Link >
150
149
</Compile >
151
- <Compile Include =" ..\libcmdline\Properties\ThisLibrary.cs" >
152
- <Link >Library\ThisLibrary.cs</Link >
153
- </Compile >
154
150
<Compile Include =" ..\libcmdline\BadOptionInfo.cs" >
155
151
<Link >Library\BadOptionInfo.cs</Link >
156
152
</Compile >
175
171
<Compile Include =" Program.Options.cs" >
176
172
<DependentUpon >Program.cs</DependentUpon >
177
173
</Compile >
174
+ <Compile Include =" ..\CommonAssemblyInfo.cs" >
175
+ <Link >Properties\CommonAssemblyInfo.cs</Link >
176
+ </Compile >
178
177
</ItemGroup >
179
178
<Import Project =" $(MSBuildBinPath)\Microsoft.CSharp.targets" />
180
179
<ItemGroup >
Original file line number Diff line number Diff line change 32
32
using CommandLine . Text ;
33
33
#endregion
34
34
35
- [ assembly: AssemblyTitle ( ThisAssembly . Title ) ]
36
- [ assembly: AssemblyProduct ( "Command Line Parsing Library" ) ]
35
+ [ assembly: AssemblyTitle ( "demoapp.exe" ) ]
37
36
[ assembly: AssemblyDescription ( "Sample Application for Command Line Library" ) ]
38
- [ assembly: AssemblyCopyright ( ThisAssembly . Copyright ) ]
39
- [ assembly: AssemblyVersion ( ThisAssembly . Version ) ]
40
- [ assembly: AssemblyInformationalVersionAttribute ( ThisAssembly . InformationalVersion ) ]
41
37
[ assembly: AssemblyCulture ( "" ) ]
42
38
43
39
// here we're using new CommandLine.Text attributes
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 98
98
<Compile Include =" Internal\ArgumentParser.cs" />
99
99
<Compile Include =" Internal\IArgumentEnumerator.cs" />
100
100
<Compile Include =" Internal\PresentParserState.cs" />
101
- <Compile Include =" Properties\ThisAssembly.cs" />
102
101
<Compile Include =" Properties\AssemblyInfo.cs" />
103
102
<Compile Include =" Text\HelpText.cs" />
104
- <Compile Include =" Properties\ThisLibrary.cs" />
105
103
<Compile Include =" Text\BaseSentenceBuilder.cs" />
106
104
<Compile Include =" Text\EnglishSentenceBuilder.cs" />
107
105
<Compile Include =" Text\CopyrightInfo.cs" />
121
119
<Compile Include =" IParserState.cs" />
122
120
<Compile Include =" ParserState.cs" />
123
121
<Compile Include =" ParsingError.cs" />
122
+ <Compile Include =" ..\CommonAssemblyInfo.cs" >
123
+ <Link >Properties\CommonAssemblyInfo.cs</Link >
124
+ </Compile >
124
125
</ItemGroup >
125
126
<Import Project =" $(MSBuildBinPath)\Microsoft.CSharp.targets" />
126
127
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Original file line number Diff line number Diff line change 34
34
using System . Runtime . InteropServices ;
35
35
#endregion
36
36
37
- [ assembly: AssemblyTitle ( ThisAssembly . Title ) ]
38
- [ assembly: AssemblyProduct ( "Command Line Parsing Library" ) ]
39
- [ assembly: AssemblyDescription ( ThisAssembly . Title ) ]
40
- [ assembly: AssemblyCopyright ( ThisAssembly . Copyright ) ]
41
- [ assembly: AssemblyVersion ( ThisAssembly . Version ) ]
42
- [ assembly: AssemblyInformationalVersion ( ThisAssembly . InformationalVersion ) ]
43
- [ assembly: NeutralResourcesLanguage ( "en-US" ) ]
37
+ [ assembly: AssemblyTitle ( "CommandLine.dll" ) ]
38
+ [ assembly: AssemblyDescription ( "Command Line Parser Library allows CLR applications to define a syntax for parsing command line arguments." ) ]
44
39
[ assembly: AssemblyCulture ( "" ) ]
45
40
#if DEBUG
46
41
[ assembly: AssemblyConfiguration ( "Debug" ) ]
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 105
105
<Compile Include =" ..\libcmdline\Internal\Target.cs" >
106
106
<Link >Library\Internal\Target.cs</Link >
107
107
</Compile >
108
- <Compile Include =" ..\libcmdline\Properties\ThisLibrary.cs" >
109
- <Link >Library\ThisLibrary.cs</Link >
110
- </Compile >
111
108
<Compile Include =" ..\libcmdline\Text\Attributes\AssemblyLicenseAttribute.cs" >
112
109
<Link >Library\Text\Attributes\AssemblyLicenseAttribute.cs</Link >
113
110
</Compile >
202
199
<Compile Include =" Text\HelpTextFixture.cs" />
203
200
<Compile Include =" Text\VerbsHelpTextFixture.cs" />
204
201
<Compile Include =" Utility\ReflectionUtilFixture.cs" />
205
- <Compile Include =" Properties\ThisAssembly.cs" />
206
202
<Compile Include =" Parser\SingletonFixture.cs" />
207
203
<Compile Include =" Mocks\SimpleOptionsWithDefaults.cs" />
208
204
<Compile Include =" Mocks\SimpleOptionsWithBadDefaults.cs" />
237
233
<Compile Include =" ..\libcmdline\ParsingError.cs" >
238
234
<Link >Library\ParsingError.cs</Link >
239
235
</Compile >
236
+ <Compile Include =" ..\CommonAssemblyInfo.cs" >
237
+ <Link >Properties\CommonAssemblyInfo.cs</Link >
238
+ </Compile >
240
239
</ItemGroup >
241
240
<ItemGroup >
242
241
<None Include =" packages.config" />
Original file line number Diff line number Diff line change 35
35
using CommandLine . Text ;
36
36
#endregion
37
37
38
- [ assembly: AssemblyTitle ( _ThisAssembly . Title ) ]
39
- [ assembly: AssemblyProduct ( "Command Line Parsing Library" ) ]
40
- [ assembly: AssemblyDescription ( _ThisAssembly . Title ) ]
41
- [ assembly: AssemblyCopyright ( _ThisAssembly . Copyright ) ]
42
- [ assembly: AssemblyVersion ( _ThisAssembly . Version ) ]
43
- [ assembly: AssemblyInformationalVersion ( _ThisAssembly . InformationalVersion ) ]
44
- [ assembly: NeutralResourcesLanguage ( "en-US" ) ]
38
+ [ assembly: AssemblyTitle ( "CommandLine.Tests.dll" ) ]
39
+ [ assembly: AssemblyDescription ( "Command Line Parser Library allows CLR applications to define a syntax for parsing command line arguments." ) ]
45
40
[ assembly: AssemblyCulture ( "" ) ]
46
41
47
42
[ assembly: AssemblyLicense (
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ public string GetUsage()
134
134
[ SetUp ]
135
135
public void SetUp ( )
136
136
{
137
- _helpText = new HelpText ( new HeadingInfo ( _ThisAssembly . Title , _ThisAssembly . Version ) ) ;
137
+ _helpText = new HelpText ( new HeadingInfo ( "CommandLine.Tests.dll" , "1.9.4.131" ) ) ;
138
138
}
139
139
140
140
[ Test ]
You can’t perform that action at this time.
0 commit comments