Skip to content
This repository
Newer
Older
100644 386 lines (316 sloc) 10.21 kb
de564de4 » jimweirich
2003-10-18 Initial revision
1 # Rakefile for rake -*- ruby -*-
2
dd803350 » jimweirich
2006-01-17 Added rf abbreviation.
3 # Copyright 2003, 2004, 2005 by Jim Weirich (jim@weirichhouse.org)
47fb00be » jimweirich
2003-11-12 Added comments.
4 # All rights reserved.
5
ac681d36 » jimweirich
2006-04-16 modified rakefile to Bil Klebs suggestions
6 # This file may be distributed under an MIT style license. See
47fb00be » jimweirich
2003-11-12 Added comments.
7 # MIT-LICENSE for details.
8
40ccfa27 » jimweirich
2003-11-27 Make RubyGems optional, but wont build packages without it.
9 begin
10 require 'rubygems'
77a0ad20 » jimweirich
2004-05-04 Added 2004 to copyright.
11 require 'rake/gempackagetask'
40ccfa27 » jimweirich
2003-11-27 Make RubyGems optional, but wont build packages without it.
12 rescue Exception
13 nil
14 end
2337d2a0 » jimweirich
2003-11-12 require clean was missing in the main Rakefile ... how could that be?
15 require 'rake/clean'
1bd831f5 » jimweirich
2003-11-09 Started the splitup of rubyapp into smaller, reusable components (e.g…
16 require 'rake/testtask'
8bd21dad » jimweirich
2003-11-11 Broke rubyapp into smaller pieces.
17 require 'rake/rdoctask'
18
3210a023 » jimweirich
2007-02-14 Added require rubygems to a test, cleaning dot files, parameterized tar
19 CLEAN.include('**/*.o', '*.dot')
e5a65e15 » jimweirich
2005-01-29 Added testdata to clobber.
20 CLOBBER.include('doc/example/main', 'testdata')
b819a176 » jimweirich
2005-03-25 Added temp files from dry run test to clobber.
21 CLOBBER.include('test/data/**/temp_*')
6f834d6f » jimweirich
2005-04-08 Added chains temp files to clobber list.
22 CLOBBER.include('test/data/chains/play.*')
ceb84f1f » jimweirich
2005-07-02 version 0.5.4.3 -- fowler directory fixes
23 CLOBBER.include('test/data/file_creation_task/build')
24 CLOBBER.include('test/data/file_creation_task/src')
df6dea6e » jimweirich
2005-09-05 Clobber TAGS.
25 CLOBBER.include('TAGS')
c8197eb5 » jimweirich
2006-06-01 added rcov and unit tests
26 CLOBBER.include('coverage')
0482ac8b » jimweirich
2005-03-06 The Jamis rdoc template is only used if it is present.
27
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
28 def announce(msg='')
29 STDERR.puts msg
30 end
0482ac8b » jimweirich
2005-03-06 The Jamis rdoc template is only used if it is present.
31
47fb00be » jimweirich
2003-11-12 Added comments.
32 # Determine the current version of the software
33
5e23db99 » jimweirich
2005-10-04 Make version detection more robust.
34 if `ruby -Ilib ./bin/rake --version` =~ /rake, version ([0-9.]+)$/
35 CURRENT_VERSION = $1
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
36 else
37 CURRENT_VERSION = "0.0.0"
38 end
39
b2d9457e » jimweirich
2007-05-28 updating release procedure
40 $package_version = CURRENT_VERSION
1bd831f5 » jimweirich
2003-11-09 Started the splitup of rubyapp into smaller, reusable components (e.g…
41
b461240e » jimweirich
2004-03-25 Lines task now counts all source files.
42 SRC_RB = FileList['lib/**/*.rb']
43
47fb00be » jimweirich
2003-11-12 Added comments.
44 # The default task is run if rake is given no explicit arguments.
45
8bd21dad » jimweirich
2003-11-11 Broke rubyapp into smaller pieces.
46 desc "Default Task"
538b7b76 » jimweirich
2006-01-18 renamed test targets
47 task :default => :test_all
de564de4 » jimweirich
2003-10-18 Initial revision
48
9b9204a7 » jimweirich
2004-07-11 Changed test tasks back to using the rake provided task macros.
49 # Test Tasks ---------------------------------------------------------
9ca2c3d5 » jimweirich
2007-04-27 Added task arguments
50 task :dbg do |t|
51 puts "Arguments are: #{t.args.join(', ')}"
52 end
1bd831f5 » jimweirich
2003-11-09 Started the splitup of rubyapp into smaller, reusable components (e.g…
53
538b7b76 » jimweirich
2006-01-18 renamed test targets
54 # Common Abbreviations ...
43d4081f » jimweirich
2005-04-07 Added Test abbreviations to Rakefile.
55
538b7b76 » jimweirich
2006-01-18 renamed test targets
56 task :ta => :test_all
57 task :tf => :test_functional
58 task :tu => :test_units
59 task :tc => :test_contribs
60 task :test => :test_units
61
62 Rake::TestTask.new(:test_all) do |t|
ef833eb8 » jimweirich
2004-12-22 Make testall the default task.
63 t.test_files = FileList[
64 'test/test*.rb',
65 'test/contrib/test*.rb',
66 'test/fun*.rb'
67 ]
ddd28f97 » jimweirich
2005-04-09 bump version to intermediate 0.5.3.1. changed tests to non-verbose
68 t.warning = true
0c5500a0 » jimweirich
2007-04-01 Added existing and existing! methods to FileList.
69 t.verbose = false
ef833eb8 » jimweirich
2004-12-22 Make testall the default task.
70 end
71
538b7b76 » jimweirich
2006-01-18 renamed test targets
72 Rake::TestTask.new(:test_units) do |t|
1c46548b » jimweirich
2004-07-25 Switched to file list in test definition.
73 t.test_files = FileList['test/test*.rb']
ddd28f97 » jimweirich
2005-04-09 bump version to intermediate 0.5.3.1. changed tests to non-verbose
74 t.warning = true
75 t.verbose = false
a94b20ca » jimweirich
2004-05-10 Changed the Rakefile to run the test raw (i.e. without the test task).
76 end
de564de4 » jimweirich
2003-10-18 Initial revision
77
538b7b76 » jimweirich
2006-01-18 renamed test targets
78 Rake::TestTask.new(:test_functional) do |t|
ddd28f97 » jimweirich
2005-04-09 bump version to intermediate 0.5.3.1. changed tests to non-verbose
79 t.test_files = FileList['test/fun*.rb']
80 t.warning = true
81 t.warning = true
9b9204a7 » jimweirich
2004-07-11 Changed test tasks back to using the rake provided task macros.
82 end
83
538b7b76 » jimweirich
2006-01-18 renamed test targets
84 Rake::TestTask.new(:test_contribs) do |t|
ddd28f97 » jimweirich
2005-04-09 bump version to intermediate 0.5.3.1. changed tests to non-verbose
85 t.test_files = FileList['test/contrib/test*.rb']
86 t.verbose = false
87 t.warning = true
f521baa5 » jimweirich
2004-06-19 Added comments to test task.
88 end
89
0c5500a0 » jimweirich
2007-04-01 Added existing and existing! methods to FileList.
90 begin
91 require 'rcov/rcovtask'
92
93 Rcov::RcovTask.new do |t|
94 t.libs << "test"
95 t.rcov_opts = ['-xRakefile', '-xrakefile', '-xpublish.rf', '--text-report']
96 t.test_files = FileList[
97 'test/test*.rb',
98 'test/contrib/test*.rb'
99 ]
100 t.verbose = true
101 end
102 rescue LoadError
103 # No rcov available
c8197eb5 » jimweirich
2006-06-01 added rcov and unit tests
104 end
105
de564de4 » jimweirich
2003-10-18 Initial revision
106 directory 'testdata'
538b7b76 » jimweirich
2006-01-18 renamed test targets
107 [:test_all, :test_units, :test_contribs, :test_functional].each do |t|
a4b6d364 » jimweirich
2005-04-02 updated comments in est file.
108 task t => ['testdata']
109 end
47fb00be » jimweirich
2003-11-12 Added comments.
110
9b9204a7 » jimweirich
2004-07-11 Changed test tasks back to using the rake provided task macros.
111 # CVS Tasks ----------------------------------------------------------
47fb00be » jimweirich
2003-11-12 Added comments.
112
113 # Install rake using the standard install.rb script.
8bd21dad » jimweirich
2003-11-11 Broke rubyapp into smaller pieces.
114
115 desc "Install the application"
116 task :install do
117 ruby "install.rb"
118 end
1bd831f5 » jimweirich
2003-11-09 Started the splitup of rubyapp into smaller, reusable components (e.g…
119
47fb00be » jimweirich
2003-11-12 Added comments.
120 # Create a task to build the RDOC documentation tree.
121
c65dccdd » jimweirich
2003-11-27 Switched to css2 template (for now)
122 rd = Rake::RDocTask.new("rdoc") { |rdoc|
47fb00be » jimweirich
2003-11-12 Added comments.
123 rdoc.rdoc_dir = 'html'
c65dccdd » jimweirich
2003-11-27 Switched to css2 template (for now)
124 # rdoc.template = 'kilmer'
b461240e » jimweirich
2004-03-25 Lines task now counts all source files.
125 # rdoc.template = 'css2'
05a9e50c » jimweirich
2006-10-26 Added shame task to the Rakefile.
126 rdoc.template = 'doc/jamis.rb'
8362f330 » jimweirich
2003-11-28 Fixed title.
127 rdoc.title = "Rake -- Ruby Make"
ac681d36 » jimweirich
2006-04-16 modified rakefile to Bil Klebs suggestions
128 rdoc.options << '--line-numbers' << '--inline-source' <<
129 '--main' << 'README' <<
130 '--title' << 'Rake -- Ruby Make'
c65dccdd » jimweirich
2003-11-27 Switched to css2 template (for now)
131 rdoc.rdoc_files.include('README', 'MIT-LICENSE', 'TODO', 'CHANGES')
132 rdoc.rdoc_files.include('lib/**/*.rb', 'doc/**/*.rdoc')
133 rdoc.rdoc_files.exclude(/\bcontrib\b/)
47fb00be » jimweirich
2003-11-12 Added comments.
134 }
135
686d6159 » jimweirich
2003-11-16 Added RubyGem support.
136 # ====================================================================
47fb00be » jimweirich
2003-11-12 Added comments.
137 # Create a task that will package the Rake software into distributable
686d6159 » jimweirich
2003-11-16 Added RubyGem support.
138 # tar, zip and gem files.
139
140 PKG_FILES = FileList[
141 'install.rb',
142 '[A-Z]*',
143 'bin/**/*',
144 'lib/**/*.rb',
145 'test/**/*.rb',
ea538b25 » jimweirich
2005-05-05 Added explicit test task.
146 'test/**/*.rf',
147 'test/**/*.mf',
148 'test/**/Rakefile',
686d6159 » jimweirich
2003-11-16 Added RubyGem support.
149 'doc/**/*'
150 ]
46492383 » jimweirich
2004-07-02 removed temporary examples files from package spec
151 PKG_FILES.exclude('doc/example/*.o')
152 PKG_FILES.exclude(%r{doc/example/main$})
686d6159 » jimweirich
2003-11-16 Added RubyGem support.
153
40ccfa27 » jimweirich
2003-11-27 Make RubyGems optional, but wont build packages without it.
154 if ! defined?(Gem)
155 puts "Package Target requires RubyGEMs"
156 else
157 spec = Gem::Specification.new do |s|
44fa75ba » jimweirich
2004-05-01 Updated the gem spec to use almost all the options.
158
159 #### Basic information.
160
40ccfa27 » jimweirich
2003-11-27 Make RubyGems optional, but wont build packages without it.
161 s.name = 'rake'
b2d9457e » jimweirich
2007-05-28 updating release procedure
162 s.version = $package_version
44fa75ba » jimweirich
2004-05-01 Updated the gem spec to use almost all the options.
163 s.summary = "Ruby based make-like utility."
164 s.description = <<-EOF
165 Rake is a Make-like program implemented in Ruby. Tasks
166 and dependencies are specified in standard Ruby syntax.
167 EOF
168
169 #### Dependencies and requirements.
170
171 #s.add_dependency('log4r', '> 1.0.4')
172 #s.requirements << ""
173
174 #### Which files are to be included in this gem? Everything! (Except CVS directories.)
175
0c882635 » jimweirich
2003-11-29 fixed gem building
176 s.files = PKG_FILES.to_a
44fa75ba » jimweirich
2004-05-01 Updated the gem spec to use almost all the options.
177
178 #### C code extensions.
179
180 #s.extensions << "ext/rmagic/extconf.rb"
181
182 #### Load-time details: library and application (you will need one or both).
183
184 s.require_path = 'lib' # Use these for libraries.
185
186 s.bindir = "bin" # Use these for applications.
187 s.executables = ["rake"]
188 s.default_executable = "rake"
189
190 #### Documentation and testing.
191
5649f91e » jimweirich
2003-11-28 Updated Gem Package Generation.
192 s.has_rdoc = true
3cd17e4e » jimweirich
2004-06-06 Updated Rakefile to support rdoc file lists and options.
193 s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$/ }.to_a
ac681d36 » jimweirich
2006-04-16 modified rakefile to Bil Klebs suggestions
194 s.rdoc_options = rd.options
44fa75ba » jimweirich
2004-05-01 Updated the gem spec to use almost all the options.
195
196 #### Author and project details.
197
198 s.author = "Jim Weirich"
199 s.email = "jim@weirichhouse.org"
50e3ca7f » jimweirich
2004-11-11 pointed gem web page reference to the rake rubyforge page.
200 s.homepage = "http://rake.rubyforge.org"
44fa75ba » jimweirich
2004-05-01 Updated the gem spec to use almost all the options.
201 s.rubyforge_project = "rake"
618a61c2 » jimweirich
2005-09-14 Commented out the cert file stuff until rubygems fixes signing problem.
202 # if ENV['CERT_DIR']
203 # s.signing_key = File.join(ENV['CERT_DIR'], 'gem-private_key.pem')
204 # s.cert_chain = [File.join(ENV['CERT_DIR'], 'gem-public_cert.pem')]
205 # end
40ccfa27 » jimweirich
2003-11-27 Make RubyGems optional, but wont build packages without it.
206 end
44fa75ba » jimweirich
2004-05-01 Updated the gem spec to use almost all the options.
207
df6dea6e » jimweirich
2005-09-05 Clobber TAGS.
208 package_task = Rake::GemPackageTask.new(spec) do |pkg|
40ccfa27 » jimweirich
2003-11-27 Make RubyGems optional, but wont build packages without it.
209 pkg.need_zip = true
210 pkg.need_tar = true
211 end
0a5d4acc » jimweirich
2003-11-22 updated docs and comments. getting ready for 0.3.0
212 end
91ac08e4 » jimweirich
2003-11-28 Minor change.
213
686d6159 » jimweirich
2003-11-16 Added RubyGem support.
214 # Misc tasks =========================================================
215
b461240e » jimweirich
2004-03-25 Lines task now counts all source files.
216 def count_lines(filename)
686d6159 » jimweirich
2003-11-16 Added RubyGem support.
217 lines = 0
218 codelines = 0
b461240e » jimweirich
2004-03-25 Lines task now counts all source files.
219 open(filename) { |f|
220 f.each do |line|
686d6159 » jimweirich
2003-11-16 Added RubyGem support.
221 lines += 1
222 next if line =~ /^\s*$/
223 next if line =~ /^\s*#/
224 codelines += 1
225 end
226 }
b461240e » jimweirich
2004-03-25 Lines task now counts all source files.
227 [lines, codelines]
228 end
229
230 def show_line(msg, lines, loc)
231 printf "%6s %6s %s\n", lines.to_s, loc.to_s, msg
232 end
233
234 desc "Count lines in the main rake file"
235 task :lines do
236 total_lines = 0
237 total_code = 0
238 show_line("File Name", "LINES", "LOC")
239 SRC_RB.each do |fn|
240 lines, codelines = count_lines(fn)
241 show_line(fn, lines, codelines)
242 total_lines += lines
243 total_code += codelines
244 end
245 show_line("TOTAL", total_lines, total_code)
686d6159 » jimweirich
2003-11-16 Added RubyGem support.
246 end
247
248 ARCHIVEDIR = '/mnt/usb'
249
250 task :archive => [:package] do
251 cp FileList["pkg/*.tgz", "pkg/*.zip", "pkg/*.gem"], ARCHIVEDIR
252 end
253
47fb00be » jimweirich
2003-11-12 Added comments.
254 # Define an optional publish target in an external file. If the
255 # publish.rf file is not found, the publish targets won't be defined.
8934145d » jimweirich
2003-11-11 make contrib_test of sys work
256
257 load "publish.rf" if File.exist? "publish.rf"
b412f1a1 » jimweirich
2005-03-25 Added support tasks to Rakefile: dbg, todo, and rubyfiles
258
259 # Support Tasks ------------------------------------------------------
260
261 desc "Look for TODO and FIXME tags in the code"
262 task :todo do
c8197eb5 » jimweirich
2006-06-01 added rcov and unit tests
263 FileList['**/*.rb'].exclude('pkg').egrep(/#.*(FIXME|TODO|TBD)/)
b412f1a1 » jimweirich
2005-03-25 Added support tasks to Rakefile: dbg, todo, and rubyfiles
264 end
265
266 desc "Look for Debugging print lines"
267 task :dbg do
c8197eb5 » jimweirich
2006-06-01 added rcov and unit tests
268 FileList['**/*.rb'].egrep(/\bDBG|\bbreakpoint\b/)
b412f1a1 » jimweirich
2005-03-25 Added support tasks to Rakefile: dbg, todo, and rubyfiles
269 end
270
271 desc "List all ruby files"
272 task :rubyfiles do
273 puts Dir['**/*.rb'].reject { |fn| fn =~ /^pkg/ }
274 puts Dir['bin/*'].reject { |fn| fn =~ /CVS|(~$)|(\.rb$)/ }
275 end
dd803350 » jimweirich
2006-01-17 Added rf abbreviation.
276 task :rf => :rubyfiles
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
277
278 # --------------------------------------------------------------------
279 # Creating a release
280
b2d9457e » jimweirich
2007-05-28 updating release procedure
281 desc "[rel, reuse, reltest] Make a new release"
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
282 task :release => [
283 :prerelease,
284 :clobber,
538b7b76 » jimweirich
2006-01-18 renamed test targets
285 :test_all,
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
286 :update_version,
287 :package,
288 :tag] do
289
290 announce
291 announce "**************************************************************"
b2d9457e » jimweirich
2007-05-28 updating release procedure
292 announce "* Release #{$package_version} Complete."
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
293 announce "* Packages ready to upload."
294 announce "**************************************************************"
295 announce
296 end
297
298 # Validate that everything is ready to go for a release.
b2d9457e » jimweirich
2007-05-28 updating release procedure
299 desc "[rel, reuse, reltest]"
300 task :prerelease do |t, rel, reuse, reltest|
301 $package_version = rel
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
302 announce
303 announce "**************************************************************"
b2d9457e » jimweirich
2007-05-28 updating release procedure
304 announce "* Making RubyGem Release #{$package_version}"
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
305 announce "* (current version #{CURRENT_VERSION})"
306 announce "**************************************************************"
307 announce
308
309 # Is a release number supplied?
b2d9457e » jimweirich
2007-05-28 updating release procedure
310 unless rel
311 fail "Usage: rake release[X.Y.Z] [REUSE=tag_suffix]"
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
312 end
313
314 # Is the release different than the current release.
315 # (or is REUSE set?)
b2d9457e » jimweirich
2007-05-28 updating release procedure
316 if $package_version == CURRENT_VERSION && ! reuse
317 fail "Current version is #{$package_version}, must specify REUSE=tag_suffix to reuse version"
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
318 end
319
320 # Are all source files checked in?
b2d9457e » jimweirich
2007-05-28 updating release procedure
321 if reltest
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
322 announce "Release Task Testing, skipping checked-in file test"
323 else
324 announce "Checking for unchecked-in files..."
b2d9457e » jimweirich
2007-05-28 updating release procedure
325 data = `svn st`
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
326 unless data =~ /^$/
b2d9457e » jimweirich
2007-05-28 updating release procedure
327 abort "svn status is not clean ... do you have unchecked-in files?"
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
328 end
329 announce "No outstanding checkins found ... OK"
330 end
331 end
332
3951de81 » jimweirich
2007-05-28 working on release task
333 desc "[rel, reuse, reltest]"
334 task :update_version => [:prerelease] do |t, rel, reuse, reltest|
335 if rel == CURRENT_VERSION
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
336 announce "No version change ... skipping version update"
337 else
3951de81 » jimweirich
2007-05-28 working on release task
338 announce "Updating Rake version to #{rel}"
4c1c7281 » jimweirich
2005-03-25 pre-tag commit
339 open("lib/rake.rb") do |rakein|
340 open("lib/rake.rb.new", "w") do |rakeout|
341 rakein.each do |line|
342 if line =~ /^RAKEVERSION\s*=\s*/
3951de81 » jimweirich
2007-05-28 working on release task
343 rakeout.puts "RAKEVERSION = '#{rel}'"
4c1c7281 » jimweirich
2005-03-25 pre-tag commit
344 else
345 rakeout.puts line
346 end
347 end
348 end
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
349 end
4c1c7281 » jimweirich
2005-03-25 pre-tag commit
350 mv "lib/rake.rb.new", "lib/rake.rb"
3951de81 » jimweirich
2007-05-28 working on release task
351 if reltest
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
352 announce "Release Task Testing, skipping commiting of new version"
353 else
3951de81 » jimweirich
2007-05-28 working on release task
354 sh %{svn commit -m "Updated to version #{rel}" lib/rake.rb} # "
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
355 end
356 end
357 end
358
3951de81 » jimweirich
2007-05-28 working on release task
359 desc "[rel, reuse, reltest] Tag all the CVS files with the latest release number (REL=x.y.z)"
360 task :tag => [:prerelease] do |t, rel, reuse, reltest|
361 reltag = "REL_#{rel.gsub(/\./, '_')}"
362 reltag << reuse.gsub(/\./, '_') if reuse
178f8dbb » jimweirich
2007-05-28 working on release task
363 announce "Tagging Repository with [#{reltag}]"
3951de81 » jimweirich
2007-05-28 working on release task
364 if reltest
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
365 announce "Release Task Testing, skipping CVS tagging"
366 else
178f8dbb » jimweirich
2007-05-28 working on release task
367 sh %{svn copy svn+ssh://rubyforge.org/var/svn/rake/trunk svn+ssh://rubyforge.org/var/svn/rake/tags/#{reltag}}
da7cb40c » jimweirich
2005-03-25 Added release management to Rakefile
368 end
369 end
df6dea6e » jimweirich
2005-09-05 Clobber TAGS.
370
3096101c » jimweirich
2006-01-19 Added installation task for missing jamis template.
371 desc "Install the jamis RDoc template"
372 task :install_jamis_template do
373 require 'rbconfig'
374 dest_dir = File.join(Config::CONFIG['rubylibdir'], "rdoc/generators/template/html")
375 fail "Unabled to write to #{dest_dir}" unless File.writable?(dest_dir)
376 install "doc/jamis.rb", dest_dir, :verbose => true
377 end
378
df6dea6e » jimweirich
2005-09-05 Clobber TAGS.
379 # Require experimental XForge/Metaproject support.
380
381 load 'xforge.rf' if File.exist?('xforge.rf')
3210a023 » jimweirich
2007-02-14 Added require rubygems to a test, cleaning dot files, parameterized tar
382
d1f89d7c » jimweirich
2007-05-26 added task parameters, named parameter via desc, column limited output
383 desc "Where is the current directory. This task displays\nthe current rake directory"
3210a023 » jimweirich
2007-02-14 Added require rubygems to a test, cleaning dot files, parameterized tar
384 task :where_am_i do
385 puts Rake.original_dir
386 end
Something went wrong with that request. Please try again.