Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Display list of available tasks for rake-compiler

  • Loading branch information...
commit 5deba36d9de29897c0906f8a20d9a242b2605604 1 parent 486434e
@luislavena luislavena authored
Showing with 5 additions and 0 deletions.
  1. +2 −0  History.txt
  2. +3 −0  tasks/bin/cross-ruby.rake
View
2  History.txt
@@ -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).
View
3  tasks/bin/cross-ruby.rake
@@ -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."
Please sign in to comment.
Something went wrong with that request. Please try again.