rake icon indicating copy to clipboard operation
rake copied to clipboard

find the Status of each rake tasks

Open anoobbava opened this issue 8 years ago • 4 comments

Hi,

I had too many rake tasks in the project. Need to find whether the rake execution is success or not. I have used rakefile, it will helps for the rake file name, args, start and end time. But whether the execution is sucess or any exception occurs we can not find out.Is there anyway find out. Posted similar question in Stackoverflow.

http://stackoverflow.com/questions/42140463/find-the-exception-from-rakefile-in-rake-tasks

anoobbava avatar Feb 10 '17 07:02 anoobbava

Is it similar with #173 ?

I understood your request and usecase ( also #173 ). But I could not better API name like "RakeTask#status" or "RakeTask#exit_status"

hsbt avatar May 02 '17 11:05 hsbt

@hsbt. Here also we can't find the status of last take success or not. Is it needed right ?

anoobbava avatar Jul 09 '17 18:07 anoobbava

Hey everyone, I've opened this PR https://github.com/ruby/rake/pull/420 targeting to solve this issue.

I'd love to know what you think about it :) I'd be happy to change it to a different approach if you consider a good idea.

karreiro avatar Jun 20 '22 13:06 karreiro

@karreiro Thanks a Ton man 🙏🏽 , will wait for this change to be merged 👯

anoobbava avatar Jun 20 '22 14:06 anoobbava