Rake suppression in a catalog message

When I run rake, it always starts with a message like this:

> rake
(in /Users/peter/srcdir)
... standard output here ...

I want to delete a part (in /Users/peter/srcdir). You can do this with help rake -s, but then you won’t get the result you want.

Is there a way to disable this declaration of the current directory, but not everything else? An ideal would be some configuration file, for example ~/.rakerc, or an option in itself Rakefile.

+3
source share
1 answer

Doesn't look like this: Line 475 fromapplication.rb :

puts "(in #{Dir.pwd})" unless options.silent

You can try requesting it on the mailing list .

+3
source

Source: https://habr.com/ru/post/1720310/


All Articles