rake
rake copied to clipboard
A make-like build utility for Ruby.
This PR fixes issues #173 and #192 by introducing the `Rake::Task#results` method. We could also have the `RakeTask#status` or `RakeTask#exit_status` methods (and maybe keep `#results` private). However, we would need...
I extract task arguments directly from ARGV, beyond the -- string. For example I do: `rake update_date -- _posts/xyz.markdown` And in the code I have the `:update_date` task extract the...
I think a nice feature would be to add a new DSL method to quickly re-define a task. Something like: ```ruby # Define task task :fizz do |t| puts "Old...
Closes #81 Syntax: ``` rake 'test{user:testuser, password:secret}' ```
This behavior can be seen with the following Rakefile, then running `rake all`: ```ruby fake_task_names = ('a'..'z').to_a multitask all: fake_task_names fake_task_names.each_with_index do |fake_task_name, i| task fake_task_name do sh "sleep #{i}...
Closes #58 This is still a WIP (needs tests and documentation). I need to verify from core members if this is a correct approach and based on the feedback will...
This reduces "conflicting chdir during another chdir block" warnings when calling `Rake::Application#run` inside a `Dir.chdir` block.
Make possible to lazy define tasks in a namespace. The tasks are loaded only on lookup. Lazy definitions can be executed on purpose when using the option --load-lazy-definitions so that...
Second attempt at fixing #246.
I was trying to use rake to automate some tasks which did not work, I tried calling the task manually, which gave me a list of warnings followed by an...