Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 374 lines (308 sloc) 9.564 kB
de564de Initial revision
jimweirich authored
1 # Rakefile for rake -*- ruby -*-
2
dd80335 Added rf abbreviation.
jimweirich authored
3 # Copyright 2003, 2004, 2005 by Jim Weirich (jim@weirichhouse.org)
47fb00b Added comments.
jimweirich authored
4 # All rights reserved.
5
ac681d3 modified rakefile to Bil Klebs suggestions
jimweirich authored
6 # This file may be distributed under an MIT style license. See
47fb00b Added comments.
jimweirich authored
7 # MIT-LICENSE for details.
8
922da4c @drbrain Re-exec with the local copy of rake to ensure the we're testing our code
drbrain authored
9 require 'rbconfig'
eecdaf4 @drbrain Replace Rake::RDocTask with RDoc::Task
drbrain authored
10 require 'rubygems'
922da4c @drbrain Re-exec with the local copy of rake to ensure the we're testing our code
drbrain authored
11
12 system_rake = File.join RbConfig::CONFIG['rubylibdir'], 'rake.rb'
13
14 # Use our rake, not the installed rake from system
3680bf6 @drbrain Remove requirement for session gem from rake tests
drbrain authored
15 if $".include? system_rake or $".grep(/rake\/name_space\.rb$/).empty? then
922da4c @drbrain Re-exec with the local copy of rake to ensure the we're testing our code
drbrain authored
16 exec Gem.ruby, '-Ilib', 'bin/rake', *ARGV
17 end
18
eecdaf4 @drbrain Replace Rake::RDocTask with RDoc::Task
drbrain authored
19 require 'rubygems/package_task'
922da4c @drbrain Re-exec with the local copy of rake to ensure the we're testing our code
drbrain authored
20
2337d2a require clean was missing in the main Rakefile ... how could that be?
jimweirich authored
21 require 'rake/clean'
1bd831f Started the splitup of rubyapp into smaller, reusable components (e.g…
jimweirich authored
22 require 'rake/testtask'
eecdaf4 @drbrain Replace Rake::RDocTask with RDoc::Task
drbrain authored
23
24 begin
25 gem 'rdoc'
26 require 'rdoc/task'
27 rescue Gem::LoadError
28 end
8bd21da Broke rubyapp into smaller pieces.
jimweirich authored
29
f8d1b8b @jimweirich Updated RBC clean extensions.
authored
30 CLEAN.include('**/*.o', '*.dot', '**/*.rbc')
5654c9f @drbrain Stop generating testdata, remove nonexistent files from clobber and p…
drbrain authored
31 CLOBBER.include('doc/example/main')
df6dea6 Clobber TAGS.
jimweirich authored
32 CLOBBER.include('TAGS')
e462afc Changes to get 100% code coverage in main rake.rb file.
jimweirich authored
33 CLOBBER.include('coverage', 'rcov_aggregate')
0482ac8 The Jamis rdoc template is only used if it is present.
jimweirich authored
34
0c3268a fixed FistList order test bug. Mac extended attrs in tar. Missing su…
jimweirich authored
35 # Prevent OS X from including extended attribute junk in the tar output
36 ENV['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
37
da7cb40 Added release management to Rakefile
jimweirich authored
38 def announce(msg='')
39 STDERR.puts msg
40 end
0482ac8 The Jamis rdoc template is only used if it is present.
jimweirich authored
41
47fb00b Added comments.
jimweirich authored
42 # Determine the current version of the software
43
84da101 @jimweirich Bumped to 0.9.0.beta.0
authored
44 if `ruby -Ilib ./bin/rake --version` =~ /rake, version ([0-9a-z.]+)$/
5e23db9 Make version detection more robust.
jimweirich authored
45 CURRENT_VERSION = $1
da7cb40 Added release management to Rakefile
jimweirich authored
46 else
47 CURRENT_VERSION = "0.0.0"
48 end
49
b2d9457 updating release procedure
jimweirich authored
50 $package_version = CURRENT_VERSION
1bd831f Started the splitup of rubyapp into smaller, reusable components (e.g…
jimweirich authored
51
b461240 Lines task now counts all source files.
jimweirich authored
52 SRC_RB = FileList['lib/**/*.rb']
53
47fb00b Added comments.
jimweirich authored
54 # The default task is run if rake is given no explicit arguments.
55
8bd21da Broke rubyapp into smaller pieces.
jimweirich authored
56 desc "Default Task"
a4cceae @drbrain Move functional tests up to test/ and always run them
drbrain authored
57 task :default => :test
de564de Initial revision
jimweirich authored
58
9b9204a Changed test tasks back to using the rake provided task macros.
jimweirich authored
59 # Test Tasks ---------------------------------------------------------
1bd831f Started the splitup of rubyapp into smaller, reusable components (e.g…
jimweirich authored
60
fc94e50 @drbrain Merge contrib tests with all tests. Now there is only `rake test`
drbrain authored
61 Rake::TestTask.new do |t|
0dba7c9 @drbrain Switch rake's tests to minitest
drbrain authored
62 files = FileList['test/helper.rb', 'test/test_*.rb']
63 t.test_files = files
fc94e50 @drbrain Merge contrib tests with all tests. Now there is only `rake test`
drbrain authored
64 t.libs << "."
65 t.warning = true
a66153a @jimweirich Fixed up test location for r19 and rbx.
authored
66 end
f521baa Added comments to test task.
jimweirich authored
67
0c5500a Added existing and existing! methods to FileList.
jimweirich authored
68 begin
69 require 'rcov/rcovtask'
b476e3d @jimweirich Removed XXXtask libraries from coverage consideration.
authored
70 IGNORE_COVERAGE_IN = FileList[
71 'lib/rake/rdoctask.rb',
72 'lib/rake/testtask.rb',
73 'lib/rake/packagetask.rb',
74 'lib/rake/clean.rb',
75 ]
76
77 unless File::ALT_SEPARATOR
78 IGNORE_COVERAGE_IN.include(
79 'lib/rake/alt_system.rb',
80 'lib/rake/win32.rb')
81 end
0c5500a Added existing and existing! methods to FileList.
jimweirich authored
82
83 Rcov::RcovTask.new do |t|
84 t.libs << "test"
e462afc Changes to get 100% code coverage in main rake.rb file.
jimweirich authored
85 t.rcov_opts = [
fcf0bb1 @jimweirich some refactoring and code cleanup. Better coverage
authored
86 '-xRakefile', '-xrakefile', '-xpublish.rf',
7c9fc5b @jimweirich Exclude rvm directories from rcov.
authored
87 '-xlib/rake/contrib', '-x/Library', '-x.rvm',
8519372 @jimweirich improved coverage
authored
88 '--text-report',
fcf0bb1 @jimweirich some refactoring and code cleanup. Better coverage
authored
89 '--sort coverage'
b476e3d @jimweirich Removed XXXtask libraries from coverage consideration.
authored
90 ] + FileList['rakelib/*.rake'].pathmap("-x%p") +
91 IGNORE_COVERAGE_IN.map { |fn| "-x#{fn}" }
0c5500a Added existing and existing! methods to FileList.
jimweirich authored
92 t.test_files = FileList[
4dda757 @jimweirich Fixed race condition in tests.
authored
93 'test/lib/*_test.rb',
94 'test/contrib/*_test.rb',
95 'test/functional/*_test.rb'
0c5500a Added existing and existing! methods to FileList.
jimweirich authored
96 ]
e462afc Changes to get 100% code coverage in main rake.rb file.
jimweirich authored
97 t.output_dir = 'coverage'
0c5500a Added existing and existing! methods to FileList.
jimweirich authored
98 t.verbose = true
99 end
100 rescue LoadError
8049c7e @jimweirich Only complain about missing RCOV is it is actually requested.
authored
101 task :rcov do
102 puts "RCov is not available"
103 end
c8197eb added rcov and unit tests
jimweirich authored
104 end
105
9b9204a Changed test tasks back to using the rake provided task macros.
jimweirich authored
106 # CVS Tasks ----------------------------------------------------------
47fb00b Added comments.
jimweirich authored
107
108 # Install rake using the standard install.rb script.
8bd21da Broke rubyapp into smaller pieces.
jimweirich authored
109
110 desc "Install the application"
111 task :install do
112 ruby "install.rb"
113 end
1bd831f Started the splitup of rubyapp into smaller, reusable components (e.g…
jimweirich authored
114
47fb00b Added comments.
jimweirich authored
115 # Create a task to build the RDOC documentation tree.
116
05ffed8 @jimweirich Modifed Rakefile to not require darkfish for the GemSpec
authored
117 BASE_RDOC_OPTIONS = [
3bff3a1 @drbrain Join the future and use RDoc::Task!
drbrain authored
118 '--line-numbers', '--show-hash',
119 '--main', 'README.rdoc',
f6d26a5 @jimweirich Updated rakefile to not generate darkfish in the gemspec.
authored
120 '--title', 'Rake -- Ruby Make'
05ffed8 @jimweirich Modifed Rakefile to not require darkfish for the GemSpec
authored
121 ]
122
3bff3a1 @drbrain Join the future and use RDoc::Task!
drbrain authored
123 if defined?(RDoc::Task) then
124 RDoc::Task.new do |rdoc|
125 rdoc.rdoc_dir = 'html'
126 rdoc.title = "Rake -- Ruby Make"
127 rdoc.options = BASE_RDOC_OPTIONS.dup
2365bd2 @drbrain Remove trailing whitespace from rake
drbrain authored
128
3bff3a1 @drbrain Join the future and use RDoc::Task!
drbrain authored
129 rdoc.rdoc_files.include('README.rdoc', 'MIT-LICENSE', 'TODO', 'CHANGES')
130 rdoc.rdoc_files.include('lib/**/*.rb', 'doc/**/*.rdoc')
131 rdoc.rdoc_files.exclude(/\bcontrib\b/)
132 end
133 else
134 warn "RDoc 2.4.2+ is required to build documentation"
9c4d005 @jimweirich added ability to use darkfish-rdoc if installed.
authored
135 end
47fb00b Added comments.
jimweirich authored
136
686d615 Added RubyGem support.
jimweirich authored
137 # ====================================================================
47fb00b Added comments.
jimweirich authored
138 # Create a task that will package the Rake software into distributable
686d615 Added RubyGem support.
jimweirich authored
139 # tar, zip and gem files.
140
141 PKG_FILES = FileList[
cb95956 @drbrain Be sure to package the .gemtest file too
drbrain authored
142 '.gemtest',
686d615 Added RubyGem support.
jimweirich authored
143 'install.rb',
9efb73f @quix remove root directory glob for rake package files
quix authored
144 'CHANGES',
145 'MIT-LICENSE',
146 'README.rdoc',
147 'Rakefile',
148 'TODO',
d8f2f65 @drbrain commit miss
drbrain authored
149 'bin/rake',
2365bd2 @drbrain Remove trailing whitespace from rake
drbrain authored
150 'lib/**/*.rb',
686d615 Added RubyGem support.
jimweirich authored
151 'test/**/*.rb',
152 'doc/**/*'
153 ]
4649238 removed temporary examples files from package spec
jimweirich authored
154 PKG_FILES.exclude('doc/example/*.o')
7ed9580 @jimweirich Fixed gemspec to exclude TAGS file.
authored
155 PKG_FILES.exclude('TAGS')
4649238 removed temporary examples files from package spec
jimweirich authored
156 PKG_FILES.exclude(%r{doc/example/main$})
686d615 Added RubyGem support.
jimweirich authored
157
40ccfa2 Make RubyGems optional, but wont build packages without it.
jimweirich authored
158 if ! defined?(Gem)
7804ae3 @drbrain Update README to remove version number and correct some discrepancies…
drbrain authored
159 puts "Package Target requires RubyGems"
40ccfa2 Make RubyGems optional, but wont build packages without it.
jimweirich authored
160 else
4aaefed Added an explicit gemspec to the repo (for github gems)
jimweirich authored
161 SPEC = Gem::Specification.new do |s|
40ccfa2 Make RubyGems optional, but wont build packages without it.
jimweirich authored
162 s.name = 'rake'
b2d9457 updating release procedure
jimweirich authored
163 s.version = $package_version
44fa75b Updated the gem spec to use almost all the options.
jimweirich authored
164 s.summary = "Ruby based make-like utility."
3680bf6 @drbrain Remove requirement for session gem from rake tests
drbrain authored
165 s.description = <<-EOF.delete "\n"
166 Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
167 specified in standard Ruby syntax.
44fa75b Updated the gem spec to use almost all the options.
jimweirich authored
168 EOF
169
7804ae3 @drbrain Update README to remove version number and correct some discrepancies…
drbrain authored
170 s.required_ruby_version = '>= 1.8.6'
e13d857 @drbrain Update Rakefile to use Gem::PackageTask
drbrain authored
171 s.required_rubygems_version = '>= 1.3.2'
0dba7c9 @drbrain Switch rake's tests to minitest
drbrain authored
172 s.add_development_dependency 'minitest', '~> 2.1'
44fa75b Updated the gem spec to use almost all the options.
jimweirich authored
173
0c88263 fixed gem building
jimweirich authored
174 s.files = PKG_FILES.to_a
44fa75b Updated the gem spec to use almost all the options.
jimweirich authored
175
176 s.executables = ["rake"]
177
3bff3a1 @drbrain Join the future and use RDoc::Task!
drbrain authored
178 s.extra_rdoc_files = FileList[
179 'README.rdoc',
180 'MIT-LICENSE',
181 'TODO',
182 'CHANGES',
183 'doc/**/*.rdoc'
184 ]
185
05ffed8 @jimweirich Modifed Rakefile to not require darkfish for the GemSpec
authored
186 s.rdoc_options = BASE_RDOC_OPTIONS
44fa75b Updated the gem spec to use almost all the options.
jimweirich authored
187
188 s.author = "Jim Weirich"
189 s.email = "jim@weirichhouse.org"
50e3ca7 pointed gem web page reference to the rake rubyforge page.
jimweirich authored
190 s.homepage = "http://rake.rubyforge.org"
44fa75b Updated the gem spec to use almost all the options.
jimweirich authored
191 s.rubyforge_project = "rake"
40ccfa2 Make RubyGems optional, but wont build packages without it.
jimweirich authored
192 end
44fa75b Updated the gem spec to use almost all the options.
jimweirich authored
193
7849e27 @jimweirich Removed unused variables from Rakefile
authored
194 Gem::PackageTask.new(SPEC) do |pkg|
40ccfa2 Make RubyGems optional, but wont build packages without it.
jimweirich authored
195 pkg.need_zip = true
196 pkg.need_tar = true
197 end
4aaefed Added an explicit gemspec to the repo (for github gems)
jimweirich authored
198
eecc1ee @jimweirich bumped to version 0.8.1.7
authored
199 file "rake.gemspec" => ["Rakefile", "lib/rake.rb"] do |t|
4aaefed Added an explicit gemspec to the repo (for github gems)
jimweirich authored
200 require 'yaml'
201 open(t.name, "w") { |f| f.puts SPEC.to_yaml }
202 end
203
ad2a721 bumped to version 0.8.1.6
jimweirich authored
204 desc "Create a stand-alone gemspec"
4aaefed Added an explicit gemspec to the repo (for github gems)
jimweirich authored
205 task :gemspec => "rake.gemspec"
0a5d4ac updated docs and comments. getting ready for 0.3.0
jimweirich authored
206 end
91ac08e Minor change.
jimweirich authored
207
686d615 Added RubyGem support.
jimweirich authored
208 # Misc tasks =========================================================
209
b461240 Lines task now counts all source files.
jimweirich authored
210 def count_lines(filename)
686d615 Added RubyGem support.
jimweirich authored
211 lines = 0
212 codelines = 0
b461240 Lines task now counts all source files.
jimweirich authored
213 open(filename) { |f|
214 f.each do |line|
686d615 Added RubyGem support.
jimweirich authored
215 lines += 1
216 next if line =~ /^\s*$/
217 next if line =~ /^\s*#/
218 codelines += 1
219 end
220 }
b461240 Lines task now counts all source files.
jimweirich authored
221 [lines, codelines]
222 end
223
224 def show_line(msg, lines, loc)
225 printf "%6s %6s %s\n", lines.to_s, loc.to_s, msg
226 end
227
228 desc "Count lines in the main rake file"
229 task :lines do
230 total_lines = 0
231 total_code = 0
232 show_line("File Name", "LINES", "LOC")
233 SRC_RB.each do |fn|
234 lines, codelines = count_lines(fn)
235 show_line(fn, lines, codelines)
236 total_lines += lines
237 total_code += codelines
238 end
239 show_line("TOTAL", total_lines, total_code)
686d615 Added RubyGem support.
jimweirich authored
240 end
241
47fb00b Added comments.
jimweirich authored
242 # Define an optional publish target in an external file. If the
243 # publish.rf file is not found, the publish targets won't be defined.
8934145 make contrib_test of sys work
jimweirich authored
244
245 load "publish.rf" if File.exist? "publish.rf"
b412f1a Added support tasks to Rakefile: dbg, todo, and rubyfiles
jimweirich authored
246
247 # Support Tasks ------------------------------------------------------
248
e462afc Changes to get 100% code coverage in main rake.rb file.
jimweirich authored
249 RUBY_FILES = FileList['**/*.rb'].exclude('pkg')
250
b412f1a Added support tasks to Rakefile: dbg, todo, and rubyfiles
jimweirich authored
251 desc "Look for TODO and FIXME tags in the code"
252 task :todo do
e462afc Changes to get 100% code coverage in main rake.rb file.
jimweirich authored
253 RUBY_FILES.egrep(/#.*(FIXME|TODO|TBD)/)
b412f1a Added support tasks to Rakefile: dbg, todo, and rubyfiles
jimweirich authored
254 end
255
256 desc "List all ruby files"
2365bd2 @drbrain Remove trailing whitespace from rake
drbrain authored
257 task :rubyfiles do
e462afc Changes to get 100% code coverage in main rake.rb file.
jimweirich authored
258 puts RUBY_FILES
259 puts FileList['bin/*'].exclude('bin/*.rb')
b412f1a Added support tasks to Rakefile: dbg, todo, and rubyfiles
jimweirich authored
260 end
dd80335 Added rf abbreviation.
jimweirich authored
261 task :rf => :rubyfiles
da7cb40 Added release management to Rakefile
jimweirich authored
262
263 # --------------------------------------------------------------------
264 # Creating a release
265
d800e9b added dependency cycle detection
jimweirich authored
266 def plugin(plugin_name)
267 require "rake/plugins/#{plugin_name}"
268 end
269
270 task :noop
271 #plugin "release_manager"
272
32fef52 Changed argument specification to use task command rather than desc c…
jimweirich authored
273 desc "Make a new release"
4ab3c72 @jimweirich Removed deprecated argument usage from Rakefile.
authored
274 task :release, [:rel, :reuse, :reltest] => [
32fef52 Changed argument specification to use task command rather than desc c…
jimweirich authored
275 :prerelease,
276 :clobber,
a4cceae @drbrain Move functional tests up to test/ and always run them
drbrain authored
277 :test,
32fef52 Changed argument specification to use task command rather than desc c…
jimweirich authored
278 :update_version,
279 :package,
280 :tag
281 ] do
2365bd2 @drbrain Remove trailing whitespace from rake
drbrain authored
282 announce
da7cb40 Added release management to Rakefile
jimweirich authored
283 announce "**************************************************************"
b2d9457 updating release procedure
jimweirich authored
284 announce "* Release #{$package_version} Complete."
da7cb40 Added release management to Rakefile
jimweirich authored
285 announce "* Packages ready to upload."
286 announce "**************************************************************"
2365bd2 @drbrain Remove trailing whitespace from rake
drbrain authored
287 announce
da7cb40 Added release management to Rakefile
jimweirich authored
288 end
289
290 # Validate that everything is ready to go for a release.
d34cb91 Ready for release
jimweirich authored
291 task :prerelease, :rel, :reuse, :reltest do |t, args|
292 $package_version = args.rel
2365bd2 @drbrain Remove trailing whitespace from rake
drbrain authored
293 announce
da7cb40 Added release management to Rakefile
jimweirich authored
294 announce "**************************************************************"
b2d9457 updating release procedure
jimweirich authored
295 announce "* Making RubyGem Release #{$package_version}"
da7cb40 Added release management to Rakefile
jimweirich authored
296 announce "* (current version #{CURRENT_VERSION})"
297 announce "**************************************************************"
2365bd2 @drbrain Remove trailing whitespace from rake
drbrain authored
298 announce
da7cb40 Added release management to Rakefile
jimweirich authored
299
300 # Is a release number supplied?
d34cb91 Ready for release
jimweirich authored
301 unless args.rel
b2d9457 updating release procedure
jimweirich authored
302 fail "Usage: rake release[X.Y.Z] [REUSE=tag_suffix]"
da7cb40 Added release management to Rakefile
jimweirich authored
303 end
304
305 # Is the release different than the current release.
306 # (or is REUSE set?)
d34cb91 Ready for release
jimweirich authored
307 if $package_version == CURRENT_VERSION && ! args.reuse
b2d9457 updating release procedure
jimweirich authored
308 fail "Current version is #{$package_version}, must specify REUSE=tag_suffix to reuse version"
da7cb40 Added release management to Rakefile
jimweirich authored
309 end
310
311 # Are all source files checked in?
d34cb91 Ready for release
jimweirich authored
312 if args.reltest
da7cb40 Added release management to Rakefile
jimweirich authored
313 announce "Release Task Testing, skipping checked-in file test"
314 else
315 announce "Checking for unchecked-in files..."
b2d9457 updating release procedure
jimweirich authored
316 data = `svn st`
da7cb40 Added release management to Rakefile
jimweirich authored
317 unless data =~ /^$/
b2d9457 updating release procedure
jimweirich authored
318 abort "svn status is not clean ... do you have unchecked-in files?"
da7cb40 Added release management to Rakefile
jimweirich authored
319 end
320 announce "No outstanding checkins found ... OK"
321 end
322 end
323
4ab3c72 @jimweirich Removed deprecated argument usage from Rakefile.
authored
324 task :update_version, [:rel, :reuse, :reltest] => [:prerelease] do |t, args|
d34cb91 Ready for release
jimweirich authored
325 if args.rel == CURRENT_VERSION
da7cb40 Added release management to Rakefile
jimweirich authored
326 announce "No version change ... skipping version update"
327 else
d34cb91 Ready for release
jimweirich authored
328 announce "Updating Rake version to #{args.rel}"
4c1c728 pre-tag commit
jimweirich authored
329 open("lib/rake.rb") do |rakein|
330 open("lib/rake.rb.new", "w") do |rakeout|
68c7a8c @drbrain Fix indentation
drbrain authored
331 rakein.each do |line|
332 if line =~ /^RAKEVERSION\s*=\s*/
333 rakeout.puts "RAKEVERSION = '#{args.rel}'"
334 else
335 rakeout.puts line
336 end
337 end
4c1c728 pre-tag commit
jimweirich authored
338 end
da7cb40 Added release management to Rakefile
jimweirich authored
339 end
4c1c728 pre-tag commit
jimweirich authored
340 mv "lib/rake.rb.new", "lib/rake.rb"
d34cb91 Ready for release
jimweirich authored
341 if args.reltest
da7cb40 Added release management to Rakefile
jimweirich authored
342 announce "Release Task Testing, skipping commiting of new version"
343 else
d34cb91 Ready for release
jimweirich authored
344 sh %{svn commit -m "Updated to version #{args.rel}" lib/rake.rb} # "
da7cb40 Added release management to Rakefile
jimweirich authored
345 end
346 end
347 end
348
32fef52 Changed argument specification to use task command rather than desc c…
jimweirich authored
349 desc "Tag all the CVS files with the latest release number (REL=x.y.z)"
4ab3c72 @jimweirich Removed deprecated argument usage from Rakefile.
authored
350 task :tag, [:rel, :reuse, :reltest] => [:prerelease] do |t, args|
d34cb91 Ready for release
jimweirich authored
351 reltag = "REL_#{args.rel.gsub(/\./, '_')}"
352 reltag << args.reuse.gsub(/\./, '_') if args.reuse
178f8db working on release task
jimweirich authored
353 announce "Tagging Repository with [#{reltag}]"
d34cb91 Ready for release
jimweirich authored
354 if args.reltest
da7cb40 Added release management to Rakefile
jimweirich authored
355 announce "Release Task Testing, skipping CVS tagging"
356 else
32fef52 Changed argument specification to use task command rather than desc c…
jimweirich authored
357 sh %{svn copy svn+ssh://rubyforge.org/var/svn/rake/trunk svn+ssh://rubyforge.org/var/svn/rake/tags/#{reltag} -m 'Commiting release #{reltag}'} ###'
da7cb40 Added release management to Rakefile
jimweirich authored
358 end
359 end
df6dea6 Clobber TAGS.
jimweirich authored
360
361 # Require experimental XForge/Metaproject support.
362
363 load 'xforge.rf' if File.exist?('xforge.rf')
3210a02 Added require rubygems to a test, cleaning dot files, parameterized tar
jimweirich authored
364
d1f89d7 added task parameters, named parameter via desc, column limited output
jimweirich authored
365 desc "Where is the current directory. This task displays\nthe current rake directory"
3210a02 Added require rubygems to a test, cleaning dot files, parameterized tar
jimweirich authored
366 task :where_am_i do
367 puts Rake.original_dir
368 end
de46c07 @jimweirich Task invocation chain now printed on errors.
authored
369
370 task :failure => :really_fail
371 task :really_fail do
372 fail "oops"
373 end
Something went wrong with that request. Please try again.