rant 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/NEWS +12 -0
  2. data/README +3 -3
  3. data/Rantfile +7 -1
  4. data/doc/Untitled-1~ +7 -0
  5. data/doc/command.rdoc +1 -1
  6. data/doc/csharp.rdoc +49 -72
  7. data/doc/csharp.rdoc~ +37 -0
  8. data/doc/csharp_deprecated.rdoc +73 -0
  9. data/doc/homepage/index.html +5 -8
  10. data/doc/homepage/index.html~ +134 -0
  11. data/doc/sys.rdoc +14 -0
  12. data/lib/rant/coregen.rb~ +262 -0
  13. data/lib/rant/csharp/base_compiler_adapter.rb +125 -0
  14. data/lib/rant/csharp/base_compiler_adapter.rb~ +105 -0
  15. data/lib/rant/csharp/compiler_adapter_factory.rb +40 -0
  16. data/lib/rant/csharp/compiler_adapter_factory.rb~ +39 -0
  17. data/lib/rant/csharp/csc_compiler.rb +15 -0
  18. data/lib/rant/csharp/csc_compiler.rb~ +39 -0
  19. data/lib/rant/csharp/gmcs_compiler.rb +9 -0
  20. data/lib/rant/csharp/gmcs_compiler.rb~ +10 -0
  21. data/lib/rant/csharp/mcs_compiler.rb +13 -0
  22. data/lib/rant/csharp/mcs_compiler.rb~ +40 -0
  23. data/lib/rant/csharp/msc_compiler.rb~ +39 -0
  24. data/lib/rant/import/csharp.rb +48 -0
  25. data/lib/rant/import/csharp.rb~ +58 -0
  26. data/lib/rant/import/nunittest.rb +32 -0
  27. data/lib/rant/import/resgen.rb +21 -0
  28. data/lib/rant/import/resgen.rb~ +20 -0
  29. data/lib/rant/init.rb +1 -1
  30. data/lib/rant/rantlib.rb +1 -0
  31. data/lib/rant/rantlib.rb~ +1376 -0
  32. data/lib/rant/rantsys.rb +6 -0
  33. data/run_import +1 -1
  34. data/run_rant +1 -1
  35. data/test/import/package/test_package.rb~ +628 -0
  36. data/test/rule.rf +4 -0
  37. data/test/test_filetask.rb~ +97 -0
  38. data/test/test_rule.rb +10 -0
  39. data/test/test_sys_methods.rb +22 -0
  40. data/test/units/csharp/test_base_compiler_adapter.rb +107 -0
  41. data/test/units/csharp/test_base_compiler_adapter.rb~ +73 -0
  42. data/test/units/csharp/test_compiler_adapter_factory.rb +66 -0
  43. data/test/units/csharp/test_compiler_adapter_factory.rb~ +66 -0
  44. data/test/units/csharp/test_csc_compiler.rb +23 -0
  45. data/test/units/csharp/test_csc_compiler.rb~ +23 -0
  46. data/test/units/csharp/test_gmsc_compiler.rb +19 -0
  47. data/test/units/csharp/test_gmsc_compiler.rb~ +19 -0
  48. data/test/units/csharp/test_msc_compiler.rb +23 -0
  49. data/test/units/csharp/test_msc_compiler.rb~ +23 -0
  50. data/test/units/csharp_test_helper.rb +6 -0
  51. data/test/units/import/test_csharp.rb +127 -0
  52. data/test/units/import/test_csharp.rb~ +126 -0
  53. data/test/units/import/test_nunittest.rb +122 -0
  54. data/test/units/import/test_resgen.rb +107 -0
  55. data/test/units/import/test_resgen.rb~ +88 -0
  56. metadata +269 -224
@@ -0,0 +1,107 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../csharp_test_helper')
2
+ module Rant::Generators; end;
3
+
4
+ require File.expand_path(File.dirname(__FILE__) +
5
+ '/../../../lib/rant/import/resgen')
6
+
7
+ begin
8
+ require 'mocha'
9
+
10
+ class TestResgen < Test::Unit::TestCase
11
+ def setup
12
+ @resgen = Rant::Generators::Resgen
13
+ end
14
+
15
+ def test_should_create_rule_gen
16
+ rant = rule_gen_rant_mock(/(.+?)\.resources/)
17
+ @resgen.rant_gen(rant, nil, [{}])
18
+ end
19
+
20
+ def test_should_use_namespace
21
+ rant = rule_gen_rant_mock(/Rant\.Test\.(.+?)\.resources/)
22
+ @resgen.rant_gen(rant, nil, [{:namespace => 'Rant.Test'}])
23
+ end
24
+
25
+ def test_should_use_build_dir
26
+ rant = rule_gen_rant_mock(/build\/(.+?)\.resources/)
27
+ @resgen.rant_gen(rant, nil, [{:build_dir => 'build'}])
28
+ end
29
+
30
+ def test_src_matches_resx
31
+ rant = rule_gen_rant_mock do |src|
32
+ "a.resx" == src.call("a.resources")[0]
33
+ end
34
+ @resgen.rant_gen(rant, nil, [{}])
35
+ end
36
+
37
+ def test_src_matches_resx_with_namespace
38
+ rant = rule_gen_rant_mock do |src|
39
+ "a/b.resx" == src.call("a.b.resources")[0]
40
+ end
41
+ @resgen.rant_gen(rant, nil, [{}])
42
+ end
43
+
44
+ def test_src_matches_resx_with_build_dir
45
+ rant = rule_gen_rant_mock do |src|
46
+ "a.resx" == src.call("build/a.resources")[0]
47
+ end
48
+ @resgen.rant_gen(rant, nil, [{:build_dir => "build"}])
49
+ end
50
+
51
+ def test_rule_should_call_shell_command
52
+ task = Struct.new(:source, :name).new("source", "name")
53
+
54
+ sys = mock()
55
+ sys.expects(:sp).returns("source,name")
56
+ sys.expects(:sh).with("resgen /useSourcePath /compile source,name")
57
+
58
+ context = mock()
59
+ context.expects(:gen).yields(task)
60
+ context.expects(:sys).returns(sys).at_least_once
61
+
62
+ rant = mock()
63
+ rant.expects(:context).at_least_once.returns(context)
64
+
65
+ @resgen.rant_gen(rant, nil, [{}])
66
+ end
67
+
68
+ def test_should_escape_source_and_name
69
+ task = Struct.new(:source, :name).new("sou rce", "nam e")
70
+
71
+ sys = mock()
72
+ sys.expects(:sp).with("sou rce,nam e").returns("")
73
+ sys.expects(:sh)
74
+
75
+
76
+ context = mock()
77
+ context.expects(:gen).yields(task)
78
+ context.expects(:sys).returns(sys).at_least_once
79
+
80
+ rant = mock()
81
+ rant.expects(:context).at_least_once.returns(context)
82
+
83
+ @resgen.rant_gen(rant, nil, [{}])
84
+ end
85
+
86
+ # Helpers
87
+ def rule_gen_rant_mock regex = nil
88
+ context = mock()
89
+ context.expects(:gen).with() do |klass, task|
90
+ ret = (klass == Rant::Generators::Rule)
91
+ ret &&= (!regex || (task.keys[0].to_s == regex.to_s))
92
+ ret &&= (!block_given? || yield(task.values[0]))
93
+ ret
94
+ end
95
+
96
+ rant = mock()
97
+ rant.expects(:context).returns(context)
98
+ rant
99
+ end
100
+ end
101
+
102
+ # Mocks
103
+ class Rant::Generators::Rule
104
+ end
105
+ rescue LoadError
106
+ print "**** Could not test Resgen, requires mocha libary ****\n"
107
+ end
@@ -0,0 +1,88 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../csharp_test_helper')
2
+ module Rant::Generators; end;
3
+
4
+ require File.expand_path(File.dirname(__FILE__) +
5
+ '/../../../lib/rant/import/resgen')
6
+
7
+ begin
8
+ require 'mocha'
9
+
10
+ class TestResgen < Test::Unit::TestCase
11
+ def setup
12
+ @resgen = Rant::Generators::Resgen
13
+ end
14
+
15
+ def test_should_create_rule_gen
16
+ rant = rule_gen_rant_mock(/(.+?)\.resources/)
17
+ @resgen.rant_gen(rant, nil, [{}])
18
+ end
19
+
20
+ def test_should_use_namespace
21
+ rant = rule_gen_rant_mock(/Rant\.Test\.(.+?)\.resources/)
22
+ @resgen.rant_gen(rant, nil, [{:namespace => 'Rant.Test'}])
23
+ end
24
+
25
+ def test_should_use_build_dir
26
+ rant = rule_gen_rant_mock(/build\/(.+?)\.resources/)
27
+ @resgen.rant_gen(rant, nil, [{:build_dir => 'build'}])
28
+ end
29
+
30
+ def test_src_matches_resx
31
+ rant = rule_gen_rant_mock do |src|
32
+ "a.resx" == src.call("a.resources")[0]
33
+ end
34
+ @resgen.rant_gen(rant, nil, [{}])
35
+ end
36
+
37
+ def test_src_matches_resx_with_namespace
38
+ rant = rule_gen_rant_mock do |src|
39
+ "a/b.resx" == src.call("a.b.resources")[0]
40
+ end
41
+ @resgen.rant_gen(rant, nil, [{}])
42
+ end
43
+
44
+ def test_src_matches_resx_with_build_dir
45
+ rant = rule_gen_rant_mock do |src|
46
+ "a.resx" == src.call("build/a.resources")[0]
47
+ end
48
+ @resgen.rant_gen(rant, nil, [{:build_dir => "build"}])
49
+ end
50
+
51
+ def test_rule_should_call_shell_command
52
+ task = Struct.new(:source, :name).new("source", "name")
53
+
54
+ sys = mock()
55
+ sys.expects(:sh).with("resgen /useSourcePath /compile source,name")
56
+
57
+ context = mock()
58
+ context.expects(:gen).yields(task)
59
+ context.expects(:sys).returns(sys)
60
+
61
+ rant = mock()
62
+ rant.expects(:context).at_least_once.returns(context)
63
+
64
+ @resgen.rant_gen(rant, nil, [{}])
65
+ end
66
+
67
+ # Helpers
68
+ def rule_gen_rant_mock regex = nil
69
+ context = mock()
70
+ context.expects(:gen).with() do |klass, task|
71
+ ret = (klass == Rant::Generators::Rule)
72
+ ret &&= (!regex || (task.keys[0].to_s == regex.to_s))
73
+ ret &&= (!block_given? || yield(task.values[0]))
74
+ ret
75
+ end
76
+
77
+ rant = mock()
78
+ rant.expects(:context).returns(context)
79
+ rant
80
+ end
81
+ end
82
+
83
+ # Mocks
84
+ class Rant::Generators::Rule
85
+ end
86
+ rescue LoadError
87
+ print "**** Could not test Resgen, requires mocha libary ****\n"
88
+ end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: rant
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.6
7
- date: 2006-05-26 00:00:00 +02:00
6
+ version: 0.5.7
7
+ date: 2006-10-12 00:00:00 +10:00
8
8
  summary: Rant is a Ruby based build tool.
9
9
  require_paths:
10
10
  - lib
@@ -42,130 +42,167 @@ files:
42
42
  - bin/rant-import
43
43
  - lib/rant
44
44
  - lib/rant.rb
45
+ - lib/rant/archive
45
46
  - lib/rant/c
46
- - lib/rant/filelist.rb
47
+ - lib/rant/plugin
48
+ - lib/rant/script
49
+ - lib/rant/import
47
50
  - lib/rant/cs_compiler.rb
48
- - lib/rant/rantlib.rb
49
- - lib/rant/progress.rb
50
- - lib/rant/rantsys.rb
51
51
  - lib/rant/rantvar.rb
52
- - lib/rant/import
52
+ - lib/rant/coregen.rb
53
53
  - lib/rant/plugin_methods.rb
54
54
  - lib/rant/node.rb
55
- - lib/rant/plugin
55
+ - lib/rant/rantlib.rb
56
+ - lib/rant/rantsys.rb
57
+ - lib/rant/init.rb
58
+ - lib/rant/csharp
59
+ - lib/rant/progress.rb
56
60
  - lib/rant/tempfile.rb
57
- - lib/rant/script
58
- - lib/rant/coregen.rb
59
- - lib/rant/archive
60
61
  - lib/rant/metautils.rb
61
62
  - lib/rant/import.rb
62
- - lib/rant/init.rb
63
+ - lib/rant/filelist.rb
64
+ - lib/rant/coregen.rb~
65
+ - lib/rant/rantlib.rb~
66
+ - lib/rant/archive/rubyzip
67
+ - lib/rant/archive/minitar.rb
68
+ - lib/rant/archive/rubyzip.rb
69
+ - lib/rant/archive/rubyzip/tempfile_bugfixed.rb
70
+ - lib/rant/archive/rubyzip/stdrubyext.rb
71
+ - lib/rant/archive/rubyzip/ioextras.rb
63
72
  - lib/rant/c/include.rb
73
+ - lib/rant/plugin/csharp.rb
74
+ - lib/rant/plugin/configure.rb
75
+ - lib/rant/plugin/README
76
+ - lib/rant/script/rb_testloader.rb
77
+ - lib/rant/import/archive
64
78
  - lib/rant/import/c
65
- - lib/rant/import/sys
66
79
  - lib/rant/import/var
67
- - lib/rant/import/signedfile.rb
68
- - lib/rant/import/directedrule.rb
69
- - lib/rant/import/nodes
80
+ - lib/rant/import/package
81
+ - lib/rant/import/signature
70
82
  - lib/rant/import/win32
71
- - lib/rant/import/metadata.rb
72
- - lib/rant/import/truth.rb
73
- - lib/rant/import/rubydoc.rb
74
- - lib/rant/import/rubytest.rb
83
+ - lib/rant/import/nodes
75
84
  - lib/rant/import/filelist
85
+ - lib/rant/import/sys
76
86
  - lib/rant/import/rubypackage.rb
87
+ - lib/rant/import/command.rb
88
+ - lib/rant/import/metadata.rb
89
+ - lib/rant/import/rubytest.rb
77
90
  - lib/rant/import/archive.rb
91
+ - lib/rant/import/clean.rb
78
92
  - lib/rant/import/md5.rb
79
- - lib/rant/import/package
80
- - lib/rant/import/command.rb
81
- - lib/rant/import/archive
82
93
  - lib/rant/import/subfile.rb
83
- - lib/rant/import/signature
84
- - lib/rant/import/clean.rb
94
+ - lib/rant/import/rubydoc.rb
95
+ - lib/rant/import/truth.rb
96
+ - lib/rant/import/signedfile.rb
97
+ - lib/rant/import/directedrule.rb
85
98
  - lib/rant/import/autoclean.rb
99
+ - lib/rant/import/csharp.rb~
100
+ - lib/rant/import/csharp.rb
101
+ - lib/rant/import/resgen.rb
102
+ - lib/rant/import/resgen.rb~
103
+ - lib/rant/import/nunittest.rb
104
+ - lib/rant/import/archive/zip.rb
105
+ - lib/rant/import/archive/tgz.rb
86
106
  - lib/rant/import/c/dependencies.rb
87
- - lib/rant/import/sys/more.rb
88
- - lib/rant/import/sys/tgz.rb
89
- - lib/rant/import/sys/zip.rb
90
- - lib/rant/import/var/lists.rb
91
107
  - lib/rant/import/var/booleans.rb
108
+ - lib/rant/import/var/lists.rb
92
109
  - lib/rant/import/var/strings.rb
93
110
  - lib/rant/import/var/numbers.rb
111
+ - lib/rant/import/package/zip.rb
112
+ - lib/rant/import/package/tgz.rb
113
+ - lib/rant/import/signature/md5.rb
114
+ - lib/rant/import/win32/rubycmdwrapper.rb
94
115
  - lib/rant/import/nodes/default.rb
95
116
  - lib/rant/import/nodes/signed.rb
96
- - lib/rant/import/win32/rubycmdwrapper.rb
97
- - lib/rant/import/filelist/core.rb
117
+ - lib/rant/import/filelist/inspect.rb
98
118
  - lib/rant/import/filelist/more.rb
119
+ - lib/rant/import/filelist/core.rb
99
120
  - lib/rant/import/filelist/std.rb
100
- - lib/rant/import/filelist/inspect.rb
101
- - lib/rant/import/package/tgz.rb
102
- - lib/rant/import/package/zip.rb
103
- - lib/rant/import/archive/tgz.rb
104
- - lib/rant/import/archive/zip.rb
105
- - lib/rant/import/signature/md5.rb
106
- - lib/rant/plugin/README
107
- - lib/rant/plugin/configure.rb
108
- - lib/rant/plugin/csharp.rb
109
- - lib/rant/script/rb_testloader.rb
110
- - lib/rant/archive/minitar.rb
111
- - lib/rant/archive/rubyzip
112
- - lib/rant/archive/rubyzip.rb
113
- - lib/rant/archive/rubyzip/stdrubyext.rb
114
- - lib/rant/archive/rubyzip/ioextras.rb
115
- - lib/rant/archive/rubyzip/tempfile_bugfixed.rb
116
- - test/c
121
+ - lib/rant/import/sys/more.rb
122
+ - lib/rant/import/sys/zip.rb
123
+ - lib/rant/import/sys/tgz.rb
124
+ - lib/rant/csharp/base_compiler_adapter.rb
125
+ - lib/rant/csharp/compiler_adapter_factory.rb
126
+ - lib/rant/csharp/csc_compiler.rb
127
+ - lib/rant/csharp/mcs_compiler.rb
128
+ - lib/rant/csharp/compiler_adapter_factory.rb~
129
+ - lib/rant/csharp/gmcs_compiler.rb
130
+ - lib/rant/csharp/msc_compiler.rb~
131
+ - lib/rant/csharp/mcs_compiler.rb~
132
+ - lib/rant/csharp/base_compiler_adapter.rb~
133
+ - lib/rant/csharp/gmcs_compiler.rb~
134
+ - lib/rant/csharp/csc_compiler.rb~
135
+ - test/subdirs2
136
+ - test/plugin
117
137
  - test/lib
118
- - test/test_dyn_dependencies.rb
119
- - test/test_filetask.rb
120
- - test/test_examples.rb
121
- - test/Rantfile
122
- - test/ts_all.rb
123
- - test/test_rule.rb
124
- - test/test_sourcenode.rb
125
- - test/test_task.rb
126
138
  - test/project_rb1
127
- - test/test_sys_methods.rb
128
- - test/rule.rf
129
- - test/action.rant
130
139
  - test/subdirs
131
- - test/test_rantfile_api.rb
132
- - test/test_env.rb
140
+ - test/c
133
141
  - test/dryrun
134
- - test/toplevel.rf
135
- - test/test_source.rb
136
- - test/test_autosubfiletask.rb
137
- - test/import
138
- - test/plugin
139
- - test/test_rac.rb
140
- - test/test_rant_interface.rb
141
- - test/test_sys.rb
142
- - test/test_var.rb
143
- - test/tutil.rb
144
- - test/var.rf
145
- - test/test_action.rb
146
- - test/test_dirtask.rb
147
142
  - test/project1
148
143
  - test/project2
144
+ - test/deprecated
145
+ - test/import
149
146
  - test/rant-import
150
- - test/subdirs2
151
- - test/dyn_dependencies.rf
147
+ - test/test_sys_methods.rb
148
+ - test/test_examples.rb
149
+ - test/ts_all.rb
152
150
  - test/test_clean.rb
153
- - test/test_filelist.rb
154
- - test/deprecated
151
+ - test/test_var.rb
155
152
  - test/standalone.rf
156
- - test/c/source.c
157
- - test/c/test_parse_includes.rb
153
+ - test/var.rf
154
+ - test/toplevel.rf
155
+ - test/test_filelist.rb
156
+ - test/test_task.rb
157
+ - test/test_rac.rb
158
+ - test/test_rule.rb
159
+ - test/tutil.rb
160
+ - test/test_autosubfiletask.rb
161
+ - test/dyn_dependencies.rf
162
+ - test/test_sourcenode.rb
163
+ - test/test_rantfile_api.rb
164
+ - test/test_action.rb
165
+ - test/test_sys.rb
166
+ - test/action.rant
167
+ - test/test_env.rb
168
+ - test/Rantfile
169
+ - test/test_rant_interface.rb
170
+ - test/units
171
+ - test/test_source.rb
172
+ - test/test_dirtask.rb
173
+ - test/test_dyn_dependencies.rb
174
+ - test/test_filetask.rb
175
+ - test/rule.rf
176
+ - test/test_filetask.rb~
177
+ - test/subdirs2/sub00
178
+ - test/subdirs2/sub1
179
+ - test/subdirs2/test_subdirs2.rb
180
+ - test/subdirs2/root.rant
181
+ - test/subdirs2/sub00/sub.rant
182
+ - test/subdirs2/sub1/sub.rant
183
+ - test/plugin/csharp
184
+ - test/plugin/configure
185
+ - test/plugin/rantfile
186
+ - test/plugin/test_conf_csharp.rb
187
+ - test/plugin/csharp/src
188
+ - test/plugin/csharp/test_csharp.rb
189
+ - test/plugin/csharp/Rantfile
190
+ - test/plugin/csharp/Hello.cs
191
+ - test/plugin/csharp/src/A.cs
192
+ - test/plugin/csharp/src/B.cs
193
+ - test/plugin/configure/test_configure.rb
194
+ - test/plugin/configure/Rantfile
158
195
  - test/lib/test_filelist.rb
159
- - test/project_rb1/bin
160
- - test/project_rb1/lib
161
196
  - test/project_rb1/test
162
- - test/project_rb1/README
197
+ - test/project_rb1/lib
198
+ - test/project_rb1/bin
163
199
  - test/project_rb1/rantfile
200
+ - test/project_rb1/README
164
201
  - test/project_rb1/test_project_rb1.rb
165
- - test/project_rb1/bin/wgrep
166
- - test/project_rb1/lib/wgrep.rb
167
202
  - test/project_rb1/test/text
168
203
  - test/project_rb1/test/tc_wgrep.rb
204
+ - test/project_rb1/lib/wgrep.rb
205
+ - test/project_rb1/bin/wgrep
169
206
  - test/subdirs/sub1
170
207
  - test/subdirs/sub2
171
208
  - test/subdirs/Rantfile
@@ -174,182 +211,196 @@ files:
174
211
  - test/subdirs/sub2/sub
175
212
  - test/subdirs/sub2/rantfile
176
213
  - test/subdirs/sub2/sub/rantfile
177
- - test/dryrun/foo.c
214
+ - test/c/source.c
215
+ - test/c/test_parse_includes.rb
178
216
  - test/dryrun/Rantfile
217
+ - test/dryrun/foo.c
179
218
  - test/dryrun/test_dryrun.rb
219
+ - test/project1/Rantfile
220
+ - test/project1/test_project.rb
221
+ - test/project2/sub1
222
+ - test/project2/sub2
223
+ - test/project2/test_project.rb
224
+ - test/project2/buildfile
225
+ - test/project2/root.rant
226
+ - test/project2/sub1/Rantfile
227
+ - test/deprecated/test_0_6_0.rb
228
+ - test/deprecated/README
229
+ - test/import/metadata
180
230
  - test/import/c
181
231
  - test/import/md5
182
- - test/import/sys
183
- - test/import/command
184
- - test/import/metadata
185
- - test/import/nodes
186
232
  - test/import/truth
187
- - test/import/signeddirectory
233
+ - test/import/nodes
234
+ - test/import/signedfile
188
235
  - test/import/subfile
189
236
  - test/import/directedrule
190
237
  - test/import/package
191
- - test/import/signedfile
238
+ - test/import/command
239
+ - test/import/signeddirectory
240
+ - test/import/sys
241
+ - test/import/metadata/sub
242
+ - test/import/metadata/test_metadata.rb
243
+ - test/import/metadata/Rantfile
244
+ - test/import/metadata/sub/Rantfile
192
245
  - test/import/c/dependencies
246
+ - test/import/c/dependencies/include
193
247
  - test/import/c/dependencies/src
194
- - test/import/c/dependencies/bar.h
195
- - test/import/c/dependencies/foo.h
196
248
  - test/import/c/dependencies/Rantfile
249
+ - test/import/c/dependencies/hello.c
250
+ - test/import/c/dependencies/foo.h
251
+ - test/import/c/dependencies/bar.h
197
252
  - test/import/c/dependencies/test_on_the_fly.rb
198
253
  - test/import/c/dependencies/test_c_dependencies.rb
199
- - test/import/c/dependencies/hello.c
200
- - test/import/c/dependencies/include
201
- - test/import/c/dependencies/src/abc
202
- - test/import/c/dependencies/src/abc.c
203
- - test/import/c/dependencies/src/bar.c
204
254
  - test/import/c/dependencies/include/sub
205
- - test/import/c/dependencies/include/foo.h
206
255
  - test/import/c/dependencies/include/with space.h
256
+ - test/import/c/dependencies/include/foo.h
207
257
  - test/import/c/dependencies/include/sub/sub.h
258
+ - test/import/c/dependencies/src/bar.c
259
+ - test/import/c/dependencies/src/abc
260
+ - test/import/c/dependencies/src/abc.c
208
261
  - test/import/md5/root.rant
209
262
  - test/import/md5/test_md5.rb
210
- - test/import/sys/data
211
- - test/import/sys/test_tgz.rb
212
- - test/import/sys/tgz.rf
213
- - test/import/sys/test_zip.rb
214
- - test/import/sys/zip.rf
215
- - test/import/sys/data/pkg
216
- - test/import/sys/data/pkg2.zip
217
- - test/import/sys/data/pkg.tgz
218
- - test/import/sys/data/pkg.zip
219
- - test/import/sys/data/pkg/bin
220
- - test/import/sys/data/pkg/test.c
221
- - test/import/sys/data/pkg/test.h
222
- - test/import/sys/data/pkg/bin/test
223
- - test/import/sys/data/pkg/bin/test.o
224
- - test/import/command/Rantfile
225
- - test/import/command/test_command.rb
226
- - test/import/metadata/sub
227
- - test/import/metadata/test_metadata.rb
228
- - test/import/metadata/Rantfile
229
- - test/import/metadata/sub/Rantfile
263
+ - test/import/truth/Rantfile
264
+ - test/import/truth/test_truth.rb
230
265
  - test/import/nodes/signed
231
266
  - test/import/nodes/signed/sub1
232
267
  - test/import/nodes/signed/Rantfile
233
268
  - test/import/nodes/signed/test_signed.rb
234
269
  - test/import/nodes/signed/sub1/Rantfile
235
- - test/import/truth/Rantfile
236
- - test/import/truth/test_truth.rb
237
- - test/import/signeddirectory/Rantfile
238
- - test/import/signeddirectory/test_signeddirectory.rb
239
- - test/import/subfile/Rantfile
270
+ - test/import/signedfile/sub1
271
+ - test/import/signedfile/Rantfile
272
+ - test/import/signedfile/test_signedfile.rb
273
+ - test/import/signedfile/sub1/Rantfile
240
274
  - test/import/subfile/test_subfile.rb
241
275
  - test/import/subfile/autoclean.rf
276
+ - test/import/subfile/Rantfile
242
277
  - test/import/directedrule/Rantfile
243
278
  - test/import/directedrule/test_directedrule.rb
244
279
  - test/import/package/sub
245
- - test/import/package/deep
246
280
  - test/import/package/sub2
281
+ - test/import/package/deep
247
282
  - test/import/package/Rantfile
283
+ - test/import/package/MANIFEST
248
284
  - test/import/package/md5.rf
285
+ - test/import/package/test_package.rb~
249
286
  - test/import/package/test_package.rb
250
- - test/import/package/MANIFEST
251
287
  - test/import/package/sub/f1
288
+ - test/import/package/sub2/f1
252
289
  - test/import/package/deep/sub
253
290
  - test/import/package/deep/sub/sub
254
291
  - test/import/package/deep/sub/sub/f1
255
- - test/import/package/sub2/f1
256
- - test/import/signedfile/sub1
257
- - test/import/signedfile/Rantfile
258
- - test/import/signedfile/test_signedfile.rb
259
- - test/import/signedfile/sub1/Rantfile
260
- - test/plugin/configure
261
- - test/plugin/csharp
262
- - test/plugin/rantfile
263
- - test/plugin/test_conf_csharp.rb
264
- - test/plugin/configure/Rantfile
265
- - test/plugin/configure/test_configure.rb
266
- - test/plugin/csharp/src
267
- - test/plugin/csharp/Rantfile
268
- - test/plugin/csharp/Hello.cs
269
- - test/plugin/csharp/test_csharp.rb
270
- - test/plugin/csharp/src/A.cs
271
- - test/plugin/csharp/src/B.cs
272
- - test/project1/Rantfile
273
- - test/project1/test_project.rb
274
- - test/project2/sub1
275
- - test/project2/sub2
276
- - test/project2/root.rant
277
- - test/project2/buildfile
278
- - test/project2/test_project.rb
279
- - test/project2/sub1/Rantfile
292
+ - test/import/command/test_command.rb
293
+ - test/import/command/Rantfile
294
+ - test/import/signeddirectory/Rantfile
295
+ - test/import/signeddirectory/test_signeddirectory.rb
296
+ - test/import/sys/data
297
+ - test/import/sys/test_zip.rb
298
+ - test/import/sys/test_tgz.rb
299
+ - test/import/sys/zip.rf
300
+ - test/import/sys/tgz.rf
301
+ - test/import/sys/data/pkg
302
+ - test/import/sys/data/pkg.zip
303
+ - test/import/sys/data/pkg.tgz
304
+ - test/import/sys/data/pkg2.zip
305
+ - test/import/sys/data/pkg/bin
306
+ - test/import/sys/data/pkg/test.c
307
+ - test/import/sys/data/pkg/test.h
308
+ - test/import/sys/data/pkg/bin/test.o
309
+ - test/import/sys/data/pkg/bin/test
280
310
  - test/rant-import/Rantfile
281
311
  - test/rant-import/test_rant-import.rb
282
- - test/subdirs2/sub1
283
- - test/subdirs2/root.rant
284
- - test/subdirs2/sub00
285
- - test/subdirs2/test_subdirs2.rb
286
- - test/subdirs2/sub1/sub.rant
287
- - test/subdirs2/sub00/sub.rant
288
- - test/deprecated/README
289
- - test/deprecated/test_0_6_0.rb
312
+ - test/units/csharp
313
+ - test/units/import
314
+ - test/units/csharp_test_helper.rb
315
+ - test/units/csharp/test_compiler_adapter_factory.rb
316
+ - test/units/csharp/test_base_compiler_adapter.rb
317
+ - test/units/csharp/test_base_compiler_adapter.rb~
318
+ - test/units/csharp/test_msc_compiler.rb
319
+ - test/units/csharp/test_csc_compiler.rb
320
+ - test/units/csharp/test_gmsc_compiler.rb
321
+ - test/units/csharp/test_csc_compiler.rb~
322
+ - test/units/csharp/test_compiler_adapter_factory.rb~
323
+ - test/units/csharp/test_gmsc_compiler.rb~
324
+ - test/units/csharp/test_msc_compiler.rb~
325
+ - test/units/import/test_csharp.rb
326
+ - test/units/import/test_resgen.rb
327
+ - test/units/import/test_resgen.rb~
328
+ - test/units/import/test_csharp.rb~
329
+ - test/units/import/test_nunittest.rb
330
+ - doc/homepage
331
+ - doc/examples
290
332
  - doc/rantfile.rdoc
291
- - doc/md5.rdoc
292
- - doc/configure.rdoc
333
+ - doc/package.rdoc
293
334
  - doc/advanced.rdoc
294
- - doc/subdirs.rdoc
335
+ - doc/rant.rdoc
295
336
  - doc/rubyproject.rdoc
296
- - doc/filelist.rdoc
297
- - doc/c.rdoc
298
337
  - doc/rubylib.rdoc
299
- - doc/homepage
300
- - doc/sys.rdoc
301
- - doc/rant.rdoc
302
- - doc/jamis.rb
303
- - doc/rant_vs_rake.rdoc
304
- - doc/rant.1
305
- - doc/csharp.rdoc
338
+ - doc/csharp_deprecated.rdoc
306
339
  - doc/sys_filelist.rdoc
340
+ - doc/filelist.rdoc
341
+ - doc/subdirs.rdoc
307
342
  - doc/rant-import.rdoc
308
- - doc/examples
309
- - doc/package.rdoc
343
+ - doc/rant.1
344
+ - doc/rant_vs_rake.rdoc
310
345
  - doc/command.rdoc
311
- - doc/homepage/index.html
346
+ - doc/sys.rdoc
347
+ - doc/jamis.rb
348
+ - doc/csharp.rdoc
349
+ - doc/configure.rdoc
350
+ - doc/c.rdoc
351
+ - doc/md5.rdoc
352
+ - doc/Untitled-1~
353
+ - doc/csharp.rdoc~
354
+ - doc/homepage/index.html~
312
355
  - doc/homepage/rant_home.css
313
- - doc/examples/c_cpp
356
+ - doc/homepage/index.html
314
357
  - doc/examples/c_cpp_examples
358
+ - doc/examples/c_cpp
359
+ - doc/examples/c_dependencies
315
360
  - doc/examples/directedrule
316
361
  - doc/examples/myprog
317
- - doc/examples/c_dependencies
318
- - doc/examples/c_cpp/c
319
- - doc/examples/c_cpp/c++
320
- - doc/examples/c_cpp/root.rant
321
- - doc/examples/c_cpp/c/template.rf
322
- - doc/examples/c_cpp/c/problem_1_1
323
- - doc/examples/c_cpp/c/problem_1_1/main.c
324
- - doc/examples/c_cpp/c/problem_1_1/test.c
325
- - doc/examples/c_cpp/c/problem_1_1/test.h
326
- - doc/examples/c_cpp/c/problem_1_1/another_test.c
327
- - doc/examples/c_cpp/c/problem_1_1/another_test.h
328
- - doc/examples/c_cpp/c++/template.rf
329
- - doc/examples/c_cpp/c++/problem_1_1
330
- - doc/examples/c_cpp/c++/problem_1_1/main.cpp
331
- - doc/examples/c_cpp/c++/problem_1_1/test.cpp
332
- - doc/examples/c_cpp/c++/problem_1_1/another_test.cpp
333
- - doc/examples/c_cpp/c++/problem_1_1/test.h
334
- - doc/examples/c_cpp/c++/problem_1_1/another_test.h
335
362
  - doc/examples/c_cpp_examples/c
336
363
  - doc/examples/c_cpp_examples/c++
337
364
  - doc/examples/c_cpp_examples/Rantfile
338
365
  - doc/examples/c_cpp_examples/rule.rf
339
- - doc/examples/c_cpp_examples/c/template.rf
340
366
  - doc/examples/c_cpp_examples/c/problem_1_1
341
- - doc/examples/c_cpp_examples/c/problem_1_1/main.c
342
- - doc/examples/c_cpp_examples/c/problem_1_1/test.c
343
- - doc/examples/c_cpp_examples/c/problem_1_1/test.h
367
+ - doc/examples/c_cpp_examples/c/template.rf
344
368
  - doc/examples/c_cpp_examples/c/problem_1_1/another_test.c
369
+ - doc/examples/c_cpp_examples/c/problem_1_1/test.c
345
370
  - doc/examples/c_cpp_examples/c/problem_1_1/another_test.h
346
- - doc/examples/c_cpp_examples/c++/template.rf
371
+ - doc/examples/c_cpp_examples/c/problem_1_1/main.c
372
+ - doc/examples/c_cpp_examples/c/problem_1_1/test.h
347
373
  - doc/examples/c_cpp_examples/c++/problem_1_1
348
- - doc/examples/c_cpp_examples/c++/problem_1_1/main.cpp
349
- - doc/examples/c_cpp_examples/c++/problem_1_1/test.cpp
374
+ - doc/examples/c_cpp_examples/c++/template.rf
350
375
  - doc/examples/c_cpp_examples/c++/problem_1_1/another_test.cpp
351
- - doc/examples/c_cpp_examples/c++/problem_1_1/test.h
376
+ - doc/examples/c_cpp_examples/c++/problem_1_1/test.cpp
352
377
  - doc/examples/c_cpp_examples/c++/problem_1_1/another_test.h
378
+ - doc/examples/c_cpp_examples/c++/problem_1_1/main.cpp
379
+ - doc/examples/c_cpp_examples/c++/problem_1_1/test.h
380
+ - doc/examples/c_cpp/c
381
+ - doc/examples/c_cpp/c++
382
+ - doc/examples/c_cpp/root.rant
383
+ - doc/examples/c_cpp/c/problem_1_1
384
+ - doc/examples/c_cpp/c/template.rf
385
+ - doc/examples/c_cpp/c/problem_1_1/another_test.c
386
+ - doc/examples/c_cpp/c/problem_1_1/test.c
387
+ - doc/examples/c_cpp/c/problem_1_1/another_test.h
388
+ - doc/examples/c_cpp/c/problem_1_1/main.c
389
+ - doc/examples/c_cpp/c/problem_1_1/test.h
390
+ - doc/examples/c_cpp/c++/problem_1_1
391
+ - doc/examples/c_cpp/c++/template.rf
392
+ - doc/examples/c_cpp/c++/problem_1_1/another_test.cpp
393
+ - doc/examples/c_cpp/c++/problem_1_1/test.cpp
394
+ - doc/examples/c_cpp/c++/problem_1_1/another_test.h
395
+ - doc/examples/c_cpp/c++/problem_1_1/main.cpp
396
+ - doc/examples/c_cpp/c++/problem_1_1/test.h
397
+ - doc/examples/c_dependencies/include
398
+ - doc/examples/c_dependencies/src
399
+ - doc/examples/c_dependencies/Rantfile
400
+ - doc/examples/c_dependencies/include/util.h
401
+ - doc/examples/c_dependencies/include/hello.h
402
+ - doc/examples/c_dependencies/src/main.c
403
+ - doc/examples/c_dependencies/src/util.c
353
404
  - doc/examples/directedrule/src_a
354
405
  - doc/examples/directedrule/src_b
355
406
  - doc/examples/directedrule/Rantfile
@@ -357,23 +408,16 @@ files:
357
408
  - doc/examples/directedrule/src_a/a_2.c
358
409
  - doc/examples/directedrule/src_b/b_1.c
359
410
  - doc/examples/myprog/src
360
- - doc/examples/myprog/README
361
411
  - doc/examples/myprog/Rantfile
362
- - doc/examples/myprog/src/lib.c
363
- - doc/examples/myprog/src/lib.h
412
+ - doc/examples/myprog/README
364
413
  - doc/examples/myprog/src/Rantfile
365
414
  - doc/examples/myprog/src/main.c
366
- - doc/examples/c_dependencies/src
367
- - doc/examples/c_dependencies/Rantfile
368
- - doc/examples/c_dependencies/include
369
- - doc/examples/c_dependencies/src/main.c
370
- - doc/examples/c_dependencies/src/util.c
371
- - doc/examples/c_dependencies/include/hello.h
372
- - doc/examples/c_dependencies/include/util.h
415
+ - doc/examples/myprog/src/lib.c
416
+ - doc/examples/myprog/src/lib.h
417
+ - misc/devel-notes
418
+ - misc/mt.rb
373
419
  - misc/TODO
374
420
  - misc/t.rb
375
- - misc/mt.rb
376
- - misc/devel-notes
377
421
  - misc/rantmethods.rb
378
422
  test_files: []
379
423
 
@@ -390,22 +434,23 @@ extra_rdoc_files:
390
434
  - NEWS
391
435
  - INSTALL
392
436
  - doc/rantfile.rdoc
393
- - doc/md5.rdoc
394
- - doc/configure.rdoc
437
+ - doc/package.rdoc
395
438
  - doc/advanced.rdoc
396
- - doc/subdirs.rdoc
439
+ - doc/rant.rdoc
397
440
  - doc/rubyproject.rdoc
398
- - doc/filelist.rdoc
399
- - doc/c.rdoc
400
441
  - doc/rubylib.rdoc
401
- - doc/sys.rdoc
402
- - doc/rant.rdoc
403
- - doc/rant_vs_rake.rdoc
404
- - doc/csharp.rdoc
442
+ - doc/csharp_deprecated.rdoc
405
443
  - doc/sys_filelist.rdoc
444
+ - doc/filelist.rdoc
445
+ - doc/subdirs.rdoc
406
446
  - doc/rant-import.rdoc
407
- - doc/package.rdoc
447
+ - doc/rant_vs_rake.rdoc
408
448
  - doc/command.rdoc
449
+ - doc/sys.rdoc
450
+ - doc/csharp.rdoc
451
+ - doc/configure.rdoc
452
+ - doc/c.rdoc
453
+ - doc/md5.rdoc
409
454
  executables:
410
455
  - rant
411
456
  - rant-import