Permalink
Browse files

Display list of available tasks for rake-compiler

  • Loading branch information...
1 parent 486434e commit 5deba36d9de29897c0906f8a20d9a242b2605604 @luislavena luislavena committed Mar 21, 2009
Showing with 5 additions and 0 deletions.
  1. +2 −0 History.txt
  2. +3 −0 tasks/bin/cross-ruby.rake
View
@@ -12,6 +12,8 @@
* Better detection of mingw target across Linux/OSX.
Exposed it as Rake::ExtensionCompiler
+ * Display list of available tasks when calling rake-compiler script
+
=== Bugfixes
* Better output of Rake development tasks (Thanks to Luis Parravicini).
@@ -165,6 +165,9 @@ file :update_config => ["#{USER_HOME}/ruby/#{RUBY_CC_VERSION}/lib/ruby/#{MAJOR}/
end
task :default do
+ # Force the display of the available tasks when no option is given
+ Rake.application.options.show_task_pattern = //
+ Rake.application.display_tasks_and_comments
end
desc "Build #{RUBY_CC_VERSION} suitable for cross-platform development."

0 comments on commit 5deba36

Please sign in to comment.