rake
rake copied to clipboard
A make-like build utility for Ruby.
Given a Rakefile ``` multitask :default => [:a, :b, :c, :d, :e] task :a => ['target'] task :b => ['target'] task :c => ['target'] task :d => ['target'] task :e...
Faced this issue in Windows. Haven't tried it on Linux. In the following, the test files don't get picked up. ``` namespace :app do task :test do Rake::TestTask.new do |t|...
Having a simple rake task: ```ruby task :ws, [:str] => :environment do |t, args| puts args.str.inspect end ``` I get following results when run this task in command line: ```bash...
I posted a SO question about his issue [here](http://stackoverflow.com/questions/32533315/rake-not-executing-some-tasks-mistakenly-says-invoke-tasks-first-time-not). Most of the background is there. Here's the gist: I have a task called `:run` that takes one argument, `:filter`. Depending...
If you have a task that takes an argument, eg: ``` task "hi", [:name] do |t, args| puts "hi #{args.name}" end ``` and you want to run more than one...
``` rake foo Don't know how to build task foo rake Gemfile ... no output ... and does not fail ``` especially annoying with things like `rake test` doing nothing...
See [this comment](https://github.com/seattlerb/flay/issues/69#issuecomment-280862708) on seattlerb/flay#69. Using any configuration of Flay when running multiple Rake tasks (e.g., as by default) causes any non-default `dirs` option value to be ignored. This does...
I'm looking for a way to introduce something like a middleware, which will encapsulate the task, rescue errors, and then report those errors to a ticketing system like Raygun.io. Does...
It would be useful to compute relative directories when the Rakefile is in semantically significant location (e.g. the root of a project). Right now, it saves @rakefile, but not location....
Is their a possibility to get the exit status of a rake task when executed inside a ruby script. My config rake method looks like below ``` desc "Run serverspec...