reap 4.0 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ProjectInfo +18 -6
- data/lib/reap/bin/reap.rb +47 -16
- data/lib/reap/interface/interface.rb +0 -0
- data/lib/reap/interface/rubyforge.rb +247 -0
- data/lib/reap/lint.rb +1 -0
- data/lib/reap/projectinfo.rb +47 -18
- data/lib/reap/reap.rb +0 -0
- data/lib/reap/task/announce.rb +11 -13
- data/lib/reap/task/fileperm.rb +2 -5
- data/lib/reap/task/info.rb +2 -4
- data/lib/reap/task/install.rb +1 -3
- data/lib/reap/task/noop.rb +1 -3
- data/lib/reap/task/package.rb +163 -65
- data/lib/reap/task/publish.rb +2 -4
- data/lib/reap/task/rdoc.rb +1 -3
- data/lib/reap/task/release.rb +273 -0
- data/lib/reap/task/test.rb +19 -5
- data/lib/reap/task/testext.rb +5 -5
- data/lib/reap/task.rb +94 -69
- metadata +70 -256
- data/dev/Rakefile +0 -60
- data/dev/composite_task.rb +0 -27
- data/dev/compositepublisher.rb +0 -24
- data/dev/ftptools.rb +0 -139
- data/dev/license-each.rb +0 -85
- data/dev/publisher.rb +0 -75
- data/dev/rubyforgepublisher.rb +0 -18
- data/dev/sshpublisher.rb +0 -47
- data/dev/suby-cvs.rb +0 -46
- data/dev/template.rb +0 -72
- data/lib/reap/readymade.rb +0 -21
- data/lib/reap/task/webpublish.rb +0 -43
- data/lib/reap/tasks.rb +0 -13
- data/lib/reap/test.rb +0 -138
- data/web/ProjectInfo +0 -57
- data/web/images/appleboy.jpg +0 -0
- data/web/images/grape.jpg +0 -0
- data/web/index.html +0 -124
- data/web/rdoc/classes/Object.html +0 -121
- data/web/rdoc/classes/ProjectInfo.html +0 -207
- data/web/rdoc/classes/ProjectInfo.src/M000094.html +0 -18
- data/web/rdoc/classes/ProjectInfo.src/M000095.html +0 -24
- data/web/rdoc/classes/ProjectInfo.src/M000096.html +0 -22
- data/web/rdoc/classes/ProjectInfo.src/M000097.html +0 -21
- data/web/rdoc/classes/ProjectInfo.src/M000098.html +0 -18
- data/web/rdoc/classes/Reap/Announce.html +0 -262
- data/web/rdoc/classes/Reap/Announce.src/M000030.html +0 -18
- data/web/rdoc/classes/Reap/Announce.src/M000031.html +0 -114
- data/web/rdoc/classes/Reap/Announce.src/M000032.html +0 -46
- data/web/rdoc/classes/Reap/Info.html +0 -176
- data/web/rdoc/classes/Reap/Info.src/M000033.html +0 -18
- data/web/rdoc/classes/Reap/Info.src/M000034.html +0 -17
- data/web/rdoc/classes/Reap/Info.src/M000035.html +0 -18
- data/web/rdoc/classes/Reap/Install.html +0 -193
- data/web/rdoc/classes/Reap/Install.src/M000036.html +0 -18
- data/web/rdoc/classes/Reap/Install.src/M000037.html +0 -20
- data/web/rdoc/classes/Reap/Install.src/M000038.html +0 -26
- data/web/rdoc/classes/Reap/Noop.html +0 -192
- data/web/rdoc/classes/Reap/Noop.src/M000027.html +0 -18
- data/web/rdoc/classes/Reap/Noop.src/M000028.html +0 -17
- data/web/rdoc/classes/Reap/Noop.src/M000029.html +0 -18
- data/web/rdoc/classes/Reap/Package.html +0 -310
- data/web/rdoc/classes/Reap/Package.src/M000055.html +0 -18
- data/web/rdoc/classes/Reap/Package.src/M000056.html +0 -68
- data/web/rdoc/classes/Reap/Package.src/M000057.html +0 -84
- data/web/rdoc/classes/Reap/Package.src/M000058.html +0 -61
- data/web/rdoc/classes/Reap/Perm.html +0 -236
- data/web/rdoc/classes/Reap/Perm.src/M000078.html +0 -18
- data/web/rdoc/classes/Reap/Perm.src/M000079.html +0 -21
- data/web/rdoc/classes/Reap/Perm.src/M000080.html +0 -42
- data/web/rdoc/classes/Reap/Perm.src/M000081.html +0 -26
- data/web/rdoc/classes/Reap/Perm.src/M000082.html +0 -18
- data/web/rdoc/classes/Reap/Publish.html +0 -213
- data/web/rdoc/classes/Reap/Publish.src/M000070.html +0 -18
- data/web/rdoc/classes/Reap/Publish.src/M000071.html +0 -22
- data/web/rdoc/classes/Reap/Publish.src/M000072.html +0 -37
- data/web/rdoc/classes/Reap/RDoc.html +0 -218
- data/web/rdoc/classes/Reap/RDoc.src/M000059.html +0 -18
- data/web/rdoc/classes/Reap/RDoc.src/M000060.html +0 -24
- data/web/rdoc/classes/Reap/RDoc.src/M000061.html +0 -70
- data/web/rdoc/classes/Reap/Task.html +0 -396
- data/web/rdoc/classes/Reap/Task.src/M000039.html +0 -18
- data/web/rdoc/classes/Reap/Task.src/M000040.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000041.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000042.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000043.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000044.html +0 -22
- data/web/rdoc/classes/Reap/Task.src/M000045.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000046.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000047.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000048.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000049.html +0 -16
- data/web/rdoc/classes/Reap/Task.src/M000050.html +0 -27
- data/web/rdoc/classes/Reap/Task.src/M000051.html +0 -19
- data/web/rdoc/classes/Reap/Task.src/M000052.html +0 -18
- data/web/rdoc/classes/Reap/Task.src/M000053.html +0 -18
- data/web/rdoc/classes/Reap/Task.src/M000054.html +0 -19
- data/web/rdoc/classes/Reap/Test/TestResults.html +0 -205
- data/web/rdoc/classes/Reap/Test/TestResults.src/M000067.html +0 -21
- data/web/rdoc/classes/Reap/Test/TestResults.src/M000068.html +0 -21
- data/web/rdoc/classes/Reap/Test/TestResults.src/M000069.html +0 -23
- data/web/rdoc/classes/Reap/Test.html +0 -253
- data/web/rdoc/classes/Reap/Test.src/M000062.html +0 -18
- data/web/rdoc/classes/Reap/Test.src/M000063.html +0 -26
- data/web/rdoc/classes/Reap/Test.src/M000064.html +0 -77
- data/web/rdoc/classes/Reap/Test.src/M000065.html +0 -27
- data/web/rdoc/classes/Reap/Test.src/M000066.html +0 -50
- data/web/rdoc/classes/Reap/TestExt.html +0 -234
- data/web/rdoc/classes/Reap/TestExt.src/M000073.html +0 -18
- data/web/rdoc/classes/Reap/TestExt.src/M000074.html +0 -20
- data/web/rdoc/classes/Reap/TestExt.src/M000075.html +0 -49
- data/web/rdoc/classes/Reap/TestExt.src/M000076.html +0 -34
- data/web/rdoc/classes/Reap/TestExt.src/M000077.html +0 -27
- data/web/rdoc/classes/Reap/WebPublish.html +0 -213
- data/web/rdoc/classes/Reap/WebPublish.src/M000083.html +0 -18
- data/web/rdoc/classes/Reap/WebPublish.src/M000084.html +0 -21
- data/web/rdoc/classes/Reap/WebPublish.src/M000085.html +0 -32
- data/web/rdoc/classes/Reap.html +0 -248
- data/web/rdoc/classes/Reap.src/M000023.html +0 -16
- data/web/rdoc/classes/Reap.src/M000024.html +0 -21
- data/web/rdoc/classes/Reap.src/M000025.html +0 -16
- data/web/rdoc/classes/Reap.src/M000026.html +0 -21
- data/web/rdoc/classes/ReapCommand.html +0 -425
- data/web/rdoc/classes/ReapCommand.src/M000001.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000003.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000005.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000007.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000009.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000011.html +0 -16
- data/web/rdoc/classes/ReapCommand.src/M000013.html +0 -18
- data/web/rdoc/classes/ReapCommand.src/M000014.html +0 -19
- data/web/rdoc/classes/ReapCommand.src/M000015.html +0 -19
- data/web/rdoc/classes/ReapCommand.src/M000016.html +0 -24
- data/web/rdoc/classes/ReapCommand.src/M000018.html +0 -29
- data/web/rdoc/classes/Scaffold.html +0 -211
- data/web/rdoc/classes/Scaffold.src/M000086.html +0 -16
- data/web/rdoc/classes/Scaffold.src/M000087.html +0 -28
- data/web/rdoc/classes/Scaffold.src/M000088.html +0 -32
- data/web/rdoc/classes/Scaffold.src/M000089.html +0 -18
- data/web/rdoc/classes/UnitTestKernel.html +0 -176
- data/web/rdoc/classes/UnitTestKernel.src/M000019.html +0 -18
- data/web/rdoc/classes/UnitTestKernel.src/M000020.html +0 -18
- data/web/rdoc/classes/UnitTestKernel.src/M000021.html +0 -22
- data/web/rdoc/classes/UnitTestKernel.src/M000022.html +0 -22
- data/web/rdoc/classes/UnitTesting/Failure.html +0 -156
- data/web/rdoc/classes/UnitTesting/Failure.src/M000092.html +0 -18
- data/web/rdoc/classes/UnitTesting/Failure.src/M000093.html +0 -21
- data/web/rdoc/classes/UnitTesting.html +0 -165
- data/web/rdoc/classes/UnitTesting.src/M000090.html +0 -34
- data/web/rdoc/classes/UnitTesting.src/M000091.html +0 -18
- data/web/rdoc/created.rid +0 -1
- data/web/rdoc/files/ANN.html +0 -107
- data/web/rdoc/files/COPYING.html +0 -119
- data/web/rdoc/files/ChangeLog.html +0 -144
- data/web/rdoc/files/ProjectInfo.html +0 -190
- data/web/rdoc/files/README.html +0 -274
- data/web/rdoc/files/Rakefile.html +0 -101
- data/web/rdoc/files/lib/reap/bin/reap_rb.html +0 -129
- data/web/rdoc/files/lib/reap/lint_rb.html +0 -101
- data/web/rdoc/files/lib/reap/projectinfo_rb.html +0 -110
- data/web/rdoc/files/lib/reap/readymade_rb.html +0 -123
- data/web/rdoc/files/lib/reap/task/announce_rb.html +0 -114
- data/web/rdoc/files/lib/reap/task/fileperm_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/info_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/install_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/noop_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/package_rb.html +0 -109
- data/web/rdoc/files/lib/reap/task/publish_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/rdoc_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task/scaffold_rb.html +0 -107
- data/web/rdoc/files/lib/reap/task/test_rb.html +0 -110
- data/web/rdoc/files/lib/reap/task/testext_rb.html +0 -109
- data/web/rdoc/files/lib/reap/task/webpublish_rb.html +0 -108
- data/web/rdoc/files/lib/reap/task_rb.html +0 -120
- data/web/rdoc/files/lib/reap/tasks_rb.html +0 -116
- data/web/rdoc/files/lib/reap/test_rb.html +0 -109
- data/web/rdoc/fr_class_index.html +0 -47
- data/web/rdoc/fr_file_index.html +0 -51
- data/web/rdoc/fr_method_index.html +0 -124
- data/web/rdoc/index.html +0 -24
- data/web/rdoc/rdoc-style.css +0 -208
|
@@ -1,425 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
7
|
-
<head>
|
|
8
|
-
<title>Class: ReapCommand</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
|
12
|
-
<script type="text/javascript">
|
|
13
|
-
// <![CDATA[
|
|
14
|
-
|
|
15
|
-
function popupCode( url ) {
|
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function toggleCode( id ) {
|
|
20
|
-
if ( document.getElementById )
|
|
21
|
-
elem = document.getElementById( id );
|
|
22
|
-
else if ( document.all )
|
|
23
|
-
elem = eval( "document.all." + id );
|
|
24
|
-
else
|
|
25
|
-
return false;
|
|
26
|
-
|
|
27
|
-
elemStyle = elem.style;
|
|
28
|
-
|
|
29
|
-
if ( elemStyle.display != "block" ) {
|
|
30
|
-
elemStyle.display = "block"
|
|
31
|
-
} else {
|
|
32
|
-
elemStyle.display = "none"
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// Make codeblocks hidden by default
|
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
|
40
|
-
|
|
41
|
-
// ]]>
|
|
42
|
-
</script>
|
|
43
|
-
|
|
44
|
-
</head>
|
|
45
|
-
<body>
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<div id="classHeader">
|
|
50
|
-
<table class="header-table">
|
|
51
|
-
<tr class="top-aligned-row">
|
|
52
|
-
<td><strong>Class</strong></td>
|
|
53
|
-
<td class="class-name-in-header">ReapCommand</td>
|
|
54
|
-
</tr>
|
|
55
|
-
<tr class="top-aligned-row">
|
|
56
|
-
<td><strong>In:</strong></td>
|
|
57
|
-
<td>
|
|
58
|
-
<a href="../files/lib/reap/bin/reap_rb.html">
|
|
59
|
-
lib/reap/bin/reap.rb
|
|
60
|
-
</a>
|
|
61
|
-
<br />
|
|
62
|
-
</td>
|
|
63
|
-
</tr>
|
|
64
|
-
|
|
65
|
-
<tr class="top-aligned-row">
|
|
66
|
-
<td><strong>Parent:</strong></td>
|
|
67
|
-
<td>
|
|
68
|
-
ShellCommand
|
|
69
|
-
</td>
|
|
70
|
-
</tr>
|
|
71
|
-
</table>
|
|
72
|
-
</div>
|
|
73
|
-
<!-- banner header -->
|
|
74
|
-
|
|
75
|
-
<div id="bodyContent">
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
<div id="contextContent">
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
</div>
|
|
84
|
-
|
|
85
|
-
<div id="method-list">
|
|
86
|
-
<h3 class="section-bar">Methods</h3>
|
|
87
|
-
|
|
88
|
-
<div class="name-list">
|
|
89
|
-
<a href="#M000004">_D</a>
|
|
90
|
-
<a href="#M000006">_P</a>
|
|
91
|
-
<a href="#M000002">_V</a>
|
|
92
|
-
<a href="#M000003">__debug</a>
|
|
93
|
-
<a href="#M000009">__help</a>
|
|
94
|
-
<a href="#M000005">__pretend</a>
|
|
95
|
-
<a href="#M000011">__tasks</a>
|
|
96
|
-
<a href="#M000001">__verbose</a>
|
|
97
|
-
<a href="#M000007">__version</a>
|
|
98
|
-
<a href="#M000010">_h</a>
|
|
99
|
-
<a href="#M000012">_t</a>
|
|
100
|
-
<a href="#M000008">_v</a>
|
|
101
|
-
<a href="#M000013">default</a>
|
|
102
|
-
<a href="#M000015">help</a>
|
|
103
|
-
<a href="#M000017">ls</a>
|
|
104
|
-
<a href="#M000016">tasks</a>
|
|
105
|
-
<a href="#M000018">template</a>
|
|
106
|
-
<a href="#M000014">version</a>
|
|
107
|
-
</div>
|
|
108
|
-
</div>
|
|
109
|
-
|
|
110
|
-
</div>
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
<!-- if includes -->
|
|
114
|
-
|
|
115
|
-
<div id="section">
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
<!-- if method_list -->
|
|
125
|
-
<div id="methods">
|
|
126
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
|
127
|
-
|
|
128
|
-
<div id="method-M000004" class="method-detail">
|
|
129
|
-
<a name="M000004"></a>
|
|
130
|
-
|
|
131
|
-
<div class="method-heading">
|
|
132
|
-
<span class="method-name">_D</span><span class="method-args">()</span>
|
|
133
|
-
</div>
|
|
134
|
-
|
|
135
|
-
<div class="method-description">
|
|
136
|
-
<p>
|
|
137
|
-
Alias for <a href="ReapCommand.html#M000003">__debug</a>
|
|
138
|
-
</p>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
|
|
142
|
-
<div id="method-M000006" class="method-detail">
|
|
143
|
-
<a name="M000006"></a>
|
|
144
|
-
|
|
145
|
-
<div class="method-heading">
|
|
146
|
-
<span class="method-name">_P</span><span class="method-args">()</span>
|
|
147
|
-
</div>
|
|
148
|
-
|
|
149
|
-
<div class="method-description">
|
|
150
|
-
<p>
|
|
151
|
-
Alias for <a href="ReapCommand.html#M000005">__pretend</a>
|
|
152
|
-
</p>
|
|
153
|
-
</div>
|
|
154
|
-
</div>
|
|
155
|
-
|
|
156
|
-
<div id="method-M000002" class="method-detail">
|
|
157
|
-
<a name="M000002"></a>
|
|
158
|
-
|
|
159
|
-
<div class="method-heading">
|
|
160
|
-
<span class="method-name">_V</span><span class="method-args">()</span>
|
|
161
|
-
</div>
|
|
162
|
-
|
|
163
|
-
<div class="method-description">
|
|
164
|
-
<p>
|
|
165
|
-
Alias for <a href="ReapCommand.html#M000001">__verbose</a>
|
|
166
|
-
</p>
|
|
167
|
-
</div>
|
|
168
|
-
</div>
|
|
169
|
-
|
|
170
|
-
<div id="method-M000003" class="method-detail">
|
|
171
|
-
<a name="M000003"></a>
|
|
172
|
-
|
|
173
|
-
<div class="method-heading">
|
|
174
|
-
<a href="ReapCommand.src/M000003.html" target="Code" class="method-signature"
|
|
175
|
-
onclick="popupCode('ReapCommand.src/M000003.html');return false;">
|
|
176
|
-
<span class="method-name">__debug</span><span class="method-args">()</span>
|
|
177
|
-
</a>
|
|
178
|
-
</div>
|
|
179
|
-
|
|
180
|
-
<div class="method-description">
|
|
181
|
-
<p>
|
|
182
|
-
debug mode (under construction)
|
|
183
|
-
</p>
|
|
184
|
-
</div>
|
|
185
|
-
</div>
|
|
186
|
-
|
|
187
|
-
<div id="method-M000009" class="method-detail">
|
|
188
|
-
<a name="M000009"></a>
|
|
189
|
-
|
|
190
|
-
<div class="method-heading">
|
|
191
|
-
<a href="ReapCommand.src/M000009.html" target="Code" class="method-signature"
|
|
192
|
-
onclick="popupCode('ReapCommand.src/M000009.html');return false;">
|
|
193
|
-
<span class="method-name">__help</span><span class="method-args">()</span>
|
|
194
|
-
</a>
|
|
195
|
-
</div>
|
|
196
|
-
|
|
197
|
-
<div class="method-description">
|
|
198
|
-
<p>
|
|
199
|
-
option to display help
|
|
200
|
-
</p>
|
|
201
|
-
</div>
|
|
202
|
-
</div>
|
|
203
|
-
|
|
204
|
-
<div id="method-M000005" class="method-detail">
|
|
205
|
-
<a name="M000005"></a>
|
|
206
|
-
|
|
207
|
-
<div class="method-heading">
|
|
208
|
-
<a href="ReapCommand.src/M000005.html" target="Code" class="method-signature"
|
|
209
|
-
onclick="popupCode('ReapCommand.src/M000005.html');return false;">
|
|
210
|
-
<span class="method-name">__pretend</span><span class="method-args">()</span>
|
|
211
|
-
</a>
|
|
212
|
-
</div>
|
|
213
|
-
|
|
214
|
-
<div class="method-description">
|
|
215
|
-
<p>
|
|
216
|
-
pretend mode (under construction)
|
|
217
|
-
</p>
|
|
218
|
-
</div>
|
|
219
|
-
</div>
|
|
220
|
-
|
|
221
|
-
<div id="method-M000011" class="method-detail">
|
|
222
|
-
<a name="M000011"></a>
|
|
223
|
-
|
|
224
|
-
<div class="method-heading">
|
|
225
|
-
<a href="ReapCommand.src/M000011.html" target="Code" class="method-signature"
|
|
226
|
-
onclick="popupCode('ReapCommand.src/M000011.html');return false;">
|
|
227
|
-
<span class="method-name">__tasks</span><span class="method-args">()</span>
|
|
228
|
-
</a>
|
|
229
|
-
</div>
|
|
230
|
-
|
|
231
|
-
<div class="method-description">
|
|
232
|
-
<p>
|
|
233
|
-
option to display tasks
|
|
234
|
-
</p>
|
|
235
|
-
</div>
|
|
236
|
-
</div>
|
|
237
|
-
|
|
238
|
-
<div id="method-M000001" class="method-detail">
|
|
239
|
-
<a name="M000001"></a>
|
|
240
|
-
|
|
241
|
-
<div class="method-heading">
|
|
242
|
-
<a href="ReapCommand.src/M000001.html" target="Code" class="method-signature"
|
|
243
|
-
onclick="popupCode('ReapCommand.src/M000001.html');return false;">
|
|
244
|
-
<span class="method-name">__verbose</span><span class="method-args">()</span>
|
|
245
|
-
</a>
|
|
246
|
-
</div>
|
|
247
|
-
|
|
248
|
-
<div class="method-description">
|
|
249
|
-
<p>
|
|
250
|
-
verbose mode
|
|
251
|
-
</p>
|
|
252
|
-
</div>
|
|
253
|
-
</div>
|
|
254
|
-
|
|
255
|
-
<div id="method-M000007" class="method-detail">
|
|
256
|
-
<a name="M000007"></a>
|
|
257
|
-
|
|
258
|
-
<div class="method-heading">
|
|
259
|
-
<a href="ReapCommand.src/M000007.html" target="Code" class="method-signature"
|
|
260
|
-
onclick="popupCode('ReapCommand.src/M000007.html');return false;">
|
|
261
|
-
<span class="method-name">__version</span><span class="method-args">()</span>
|
|
262
|
-
</a>
|
|
263
|
-
</div>
|
|
264
|
-
|
|
265
|
-
<div class="method-description">
|
|
266
|
-
<p>
|
|
267
|
-
option to display version
|
|
268
|
-
</p>
|
|
269
|
-
</div>
|
|
270
|
-
</div>
|
|
271
|
-
|
|
272
|
-
<div id="method-M000010" class="method-detail">
|
|
273
|
-
<a name="M000010"></a>
|
|
274
|
-
|
|
275
|
-
<div class="method-heading">
|
|
276
|
-
<span class="method-name">_h</span><span class="method-args">()</span>
|
|
277
|
-
</div>
|
|
278
|
-
|
|
279
|
-
<div class="method-description">
|
|
280
|
-
<p>
|
|
281
|
-
Alias for <a href="ReapCommand.html#M000009">__help</a>
|
|
282
|
-
</p>
|
|
283
|
-
</div>
|
|
284
|
-
</div>
|
|
285
|
-
|
|
286
|
-
<div id="method-M000012" class="method-detail">
|
|
287
|
-
<a name="M000012"></a>
|
|
288
|
-
|
|
289
|
-
<div class="method-heading">
|
|
290
|
-
<span class="method-name">_t</span><span class="method-args">()</span>
|
|
291
|
-
</div>
|
|
292
|
-
|
|
293
|
-
<div class="method-description">
|
|
294
|
-
<p>
|
|
295
|
-
Alias for <a href="ReapCommand.html#M000011">__tasks</a>
|
|
296
|
-
</p>
|
|
297
|
-
</div>
|
|
298
|
-
</div>
|
|
299
|
-
|
|
300
|
-
<div id="method-M000008" class="method-detail">
|
|
301
|
-
<a name="M000008"></a>
|
|
302
|
-
|
|
303
|
-
<div class="method-heading">
|
|
304
|
-
<span class="method-name">_v</span><span class="method-args">()</span>
|
|
305
|
-
</div>
|
|
306
|
-
|
|
307
|
-
<div class="method-description">
|
|
308
|
-
<p>
|
|
309
|
-
Alias for <a href="ReapCommand.html#M000007">__version</a>
|
|
310
|
-
</p>
|
|
311
|
-
</div>
|
|
312
|
-
</div>
|
|
313
|
-
|
|
314
|
-
<div id="method-M000013" class="method-detail">
|
|
315
|
-
<a name="M000013"></a>
|
|
316
|
-
|
|
317
|
-
<div class="method-heading">
|
|
318
|
-
<a href="ReapCommand.src/M000013.html" target="Code" class="method-signature"
|
|
319
|
-
onclick="popupCode('ReapCommand.src/M000013.html');return false;">
|
|
320
|
-
<span class="method-name">default</span><span class="method-args">()</span>
|
|
321
|
-
</a>
|
|
322
|
-
</div>
|
|
323
|
-
|
|
324
|
-
<div class="method-description">
|
|
325
|
-
<p>
|
|
326
|
-
default action
|
|
327
|
-
</p>
|
|
328
|
-
</div>
|
|
329
|
-
</div>
|
|
330
|
-
|
|
331
|
-
<div id="method-M000015" class="method-detail">
|
|
332
|
-
<a name="M000015"></a>
|
|
333
|
-
|
|
334
|
-
<div class="method-heading">
|
|
335
|
-
<a href="ReapCommand.src/M000015.html" target="Code" class="method-signature"
|
|
336
|
-
onclick="popupCode('ReapCommand.src/M000015.html');return false;">
|
|
337
|
-
<span class="method-name">help</span><span class="method-args">()</span>
|
|
338
|
-
</a>
|
|
339
|
-
</div>
|
|
340
|
-
|
|
341
|
-
<div class="method-description">
|
|
342
|
-
<p>
|
|
343
|
-
display help
|
|
344
|
-
</p>
|
|
345
|
-
</div>
|
|
346
|
-
</div>
|
|
347
|
-
|
|
348
|
-
<div id="method-M000017" class="method-detail">
|
|
349
|
-
<a name="M000017"></a>
|
|
350
|
-
|
|
351
|
-
<div class="method-heading">
|
|
352
|
-
<span class="method-name">ls</span><span class="method-args">()</span>
|
|
353
|
-
</div>
|
|
354
|
-
|
|
355
|
-
<div class="method-description">
|
|
356
|
-
<p>
|
|
357
|
-
Alias for <a href="ReapCommand.html#M000016">tasks</a>
|
|
358
|
-
</p>
|
|
359
|
-
</div>
|
|
360
|
-
</div>
|
|
361
|
-
|
|
362
|
-
<div id="method-M000016" class="method-detail">
|
|
363
|
-
<a name="M000016"></a>
|
|
364
|
-
|
|
365
|
-
<div class="method-heading">
|
|
366
|
-
<a href="ReapCommand.src/M000016.html" target="Code" class="method-signature"
|
|
367
|
-
onclick="popupCode('ReapCommand.src/M000016.html');return false;">
|
|
368
|
-
<span class="method-name">tasks</span><span class="method-args">()</span>
|
|
369
|
-
</a>
|
|
370
|
-
</div>
|
|
371
|
-
|
|
372
|
-
<div class="method-description">
|
|
373
|
-
<p>
|
|
374
|
-
list available tasks
|
|
375
|
-
</p>
|
|
376
|
-
</div>
|
|
377
|
-
</div>
|
|
378
|
-
|
|
379
|
-
<div id="method-M000018" class="method-detail">
|
|
380
|
-
<a name="M000018"></a>
|
|
381
|
-
|
|
382
|
-
<div class="method-heading">
|
|
383
|
-
<a href="ReapCommand.src/M000018.html" target="Code" class="method-signature"
|
|
384
|
-
onclick="popupCode('ReapCommand.src/M000018.html');return false;">
|
|
385
|
-
<span class="method-name">template</span><span class="method-args">()</span>
|
|
386
|
-
</a>
|
|
387
|
-
</div>
|
|
388
|
-
|
|
389
|
-
<div class="method-description">
|
|
390
|
-
<p>
|
|
391
|
-
copy the file from lib/data to the current dir.
|
|
392
|
-
</p>
|
|
393
|
-
</div>
|
|
394
|
-
</div>
|
|
395
|
-
|
|
396
|
-
<div id="method-M000014" class="method-detail">
|
|
397
|
-
<a name="M000014"></a>
|
|
398
|
-
|
|
399
|
-
<div class="method-heading">
|
|
400
|
-
<a href="ReapCommand.src/M000014.html" target="Code" class="method-signature"
|
|
401
|
-
onclick="popupCode('ReapCommand.src/M000014.html');return false;">
|
|
402
|
-
<span class="method-name">version</span><span class="method-args">()</span>
|
|
403
|
-
</a>
|
|
404
|
-
</div>
|
|
405
|
-
|
|
406
|
-
<div class="method-description">
|
|
407
|
-
<p>
|
|
408
|
-
display version
|
|
409
|
-
</p>
|
|
410
|
-
</div>
|
|
411
|
-
</div>
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
</div>
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
</div>
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
<div id="validator-badges">
|
|
421
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
422
|
-
</div>
|
|
423
|
-
|
|
424
|
-
</body>
|
|
425
|
-
</html>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>__verbose (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 18</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__verbose</span> ; <span class="ruby-identifier">$VERBOSE</span> = <span class="ruby-keyword kw">true</span> ; <span class="ruby-keyword kw">end</span></pre>
|
|
15
|
-
</body>
|
|
16
|
-
</html>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>__debug (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 22</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__debug</span>; <span class="ruby-identifier">$DEBUG</span> = <span class="ruby-keyword kw">true</span> ; <span class="ruby-keyword kw">end</span></pre>
|
|
15
|
-
</body>
|
|
16
|
-
</html>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>__pretend (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 26</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__pretend</span>; <span class="ruby-identifier">$PRETEND</span> = <span class="ruby-keyword kw">true</span> ; <span class="ruby-keyword kw">end</span></pre>
|
|
15
|
-
</body>
|
|
16
|
-
</html>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>__version (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 30</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__version</span> ; <span class="ruby-identifier">version</span> ; <span class="ruby-keyword kw">end</span></pre>
|
|
15
|
-
</body>
|
|
16
|
-
</html>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>__help (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 34</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__help</span> ; <span class="ruby-identifier">help</span> ; <span class="ruby-keyword kw">end</span></pre>
|
|
15
|
-
</body>
|
|
16
|
-
</html>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>__tasks (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 38</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__tasks</span>; <span class="ruby-identifier">tasks</span> ; <span class="ruby-keyword kw">end</span></pre>
|
|
15
|
-
</body>
|
|
16
|
-
</html>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>default (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 48</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default</span>
|
|
15
|
-
<span class="ruby-identifier">tasks</span>
|
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
-
</body>
|
|
18
|
-
</html>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>version (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 53</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">version</span>
|
|
15
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Reap v.#{Reap::Version}"</span>
|
|
16
|
-
<span class="ruby-identifier">exit</span> <span class="ruby-value">0</span>
|
|
17
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
18
|
-
</body>
|
|
19
|
-
</html>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>help (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 59</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">help</span>
|
|
15
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-constant">HELP</span>
|
|
16
|
-
<span class="ruby-identifier">exit</span> <span class="ruby-value">0</span>
|
|
17
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
18
|
-
</body>
|
|
19
|
-
</html>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>tasks (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 65</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tasks</span>
|
|
15
|
-
<span class="ruby-constant">Reap</span>.<span class="ruby-identifier">initialize_all</span>
|
|
16
|
-
<span class="ruby-identifier">puts</span>
|
|
17
|
-
<span class="ruby-constant">Reap</span>.<span class="ruby-identifier">tasks</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span>,<span class="ruby-identifier">task</span><span class="ruby-operator">|</span>
|
|
18
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">" #{name}"</span>.<span class="ruby-identifier">ljust</span>(<span class="ruby-value">20</span>) <span class="ruby-operator">+</span> <span class="ruby-node">"#{task.task_desc}"</span>
|
|
19
|
-
<span class="ruby-keyword kw">end</span>
|
|
20
|
-
<span class="ruby-identifier">puts</span>
|
|
21
|
-
<span class="ruby-identifier">exit</span> <span class="ruby-value">0</span>
|
|
22
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
23
|
-
</body>
|
|
24
|
-
</html>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>template (ReapCommand)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/reap/bin/reap.rb, line 77</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">template</span>
|
|
15
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">INFO_FILES</span>.<span class="ruby-identifier">any?</span>{ <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">f</span>) }
|
|
16
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-value str">"Project file already exists."</span>
|
|
17
|
-
<span class="ruby-identifier">exit</span> <span class="ruby-value">0</span>
|
|
18
|
-
<span class="ruby-keyword kw">end</span>
|
|
19
|
-
<span class="ruby-identifier">filename</span> = <span class="ruby-value str">'ProjectInfo'</span>
|
|
20
|
-
<span class="ruby-identifier">dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>( <span class="ruby-operator">::</span><span class="ruby-constant">Config</span><span class="ruby-operator">::</span><span class="ruby-constant">CONFIG</span>[<span class="ruby-value str">'datadir'</span>], <span class="ruby-value str">'reap'</span>, <span class="ruby-value str">'scaffold'</span> )
|
|
21
|
-
<span class="ruby-identifier">f</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>( <span class="ruby-identifier">dir</span>, <span class="ruby-identifier">filename</span> )
|
|
22
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-node">"ProjectInfo template file #{f} is missing."</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>( <span class="ruby-identifier">f</span> )
|
|
23
|
-
<span class="ruby-comment cmt"># copy</span>
|
|
24
|
-
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">cp</span>( <span class="ruby-identifier">f</span>, <span class="ruby-identifier">filename</span> )
|
|
25
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"#{filename} created. You'll need to fill it out."</span>
|
|
26
|
-
<span class="ruby-identifier">exit</span> <span class="ruby-value">0</span>
|
|
27
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
28
|
-
</body>
|
|
29
|
-
</html>
|